How to set visudo to use a different editor than the default on Fedora?
Fedora 14 uses vi by default when one runs visudo. Is there a way to change this to something else?
Fedora 14 uses vi by default when one runs visudo. Is there a way to change this to something else?
Are there any special considerations to editing a file as root? What is the safest way to do this?
I have a bash script myhome.sh containing only one line:
Is it possible to allow non-root users to install packages system-wide using apt or rpm?
For example if I want to create a file and enter text in one line I can redirect the output into a file with the use of the > operator:
This question has been asked in a different way in other forums. But there has not been a decent explanation why you can’t do the below in bash.
This local command is the reference point. Let’s assume it successfully processes some binary data:
Sometimes I start editing configuration files in /etc using Vim, but forget to use sudo to start Vim. The inevitable result then is that after finishing my edits I encounter the dreaded notice that I don’t have the permission to save the file.
The /etc/sudoers file lists which users can do what with the sudo command The root user creates and modifies the /etc/sudoers file. This concept is difficult for me to understand. If all users having sudo privilage belong to sudoers group, then all of them can become root by giving the sudo su command. Then who … Read more
When I run sudo and enter my password, a subsequent invocation of sudo within a few minutes will not need the password to be re-entered.