The use of sudo
Luis Paulo
luis.barbas at gmail.com
Tue May 25 22:30:00 UTC 2010
On Tue, May 25, 2010 at 11:08 PM, terry <xtlynne at charter.net> wrote:
> I notice sudo is used without a password. i.e. , sudo yum install
> something. How is this setup on the computer?
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
Where did you saw that?
And why are you giving fedora yum as an example?
Any way, related info may be
man sudoers
or
man visudo
I do not recommend sudo without password (of course, I think) for every command
Nevertheless, I use something like that for the rsync command on my
backuppc configuration
Check the NOPASSWD option on the sudoers man
I have:
$ sudo cat /etc/sudoers
[sudo] password for lpaulo:
# /etc/sudoers
Host_Alias LOCAL=desktop.xxx.pt
backuppc LOCAL=NOPASSWD: /usr/bin/rsync --server --sender *
[...]
PS: maybe point 1 of John DeCarlo answer is what you are looking for?
Regards
Luis
More information about the ubuntu-users
mailing list