john.martzouco
Group: Members
Posts: 253
Joined: Nov. 2007 |
|
Posted: Dec. 22 2007,00:46 |
|
This has been helpful. visudo worked well (now I have to pay more attention to all those chapters about vi that I've been ignoring).
I'm trying to grant my guest user the priviliges to shut down the machine. I've tried entering the next two lines into /etc/sudoers with visudo. It reports that I have errors with the first one... so I thought I'd check with you guys to get a kickstart on setting this up. I'm reading the man page, and it will be very helpful... much more helpful after I have one new entry that sheds light.
Here's what I've tried:
/etc/sudoers:Code Sample | Cmnd_Alias SHUTDOWN = /sbin/shutdown guest ALL = DUMPS, KILL, SHUTDOWN |
Will this allow my user to shutdown via the desktop icon? How close am I to having legitimate settings for the user named guest?
Thanks
|