editing /etc/sudoers

Robert Holtzman holtzm at cox.net
Sat Nov 29 19:59:46 UTC 2008


On Sat, 29 Nov 2008, Erik Christiansen wrote:

          ...............snip.............

>> If I read the docs right the entry to allow the new user to install
>> software would be "username ALL=(username) /usr/bin, /usr/sbin". Could
>> someone please confirm this or correct me? Assuming it's correct, is
>> that the only entry required? The docs I saw weren't that clear (or was
>> it me who was dense?).
>
> If root privileges aren't needed for the commands in /usr/bin, /usr/sbin
> to perform installation, that should be OK. Otherwise, to grant your
> limited root privileges to username, I'd try:
>
> username ALL=(ALL) /usr/bin, /usr/sbin

I think you're right. That dawned on me 30 seconds after I posted.

-- 
Bob Holtzman
Your mail is being read by tight lipped
Homeland Security agents who fail to see
the humor in Doctor Strangelove




More information about the ubuntu-users mailing list