|
|||||||||||
|
Re: How do I set up sudo..
From: ajm <ajm91qw(at)sbcglobal.net>
Date: Fri Dec 21 2007 - 20:15:48 EST
su to root then type the command visudo under "User privilege specification" add the following # User privilege specification
root ALL=(ALL) ALL
ajm57 ALL=/sbin/shutdown,\
/bin/mount,\
/bin/umount
Change ajm57 to your user name then save the file. You can add as many system command as you wish. So when you want to shutdown simply type sudo shutdown -h now it will ask you for your user password (don't type in your root password) -- Alexander J. M. Linux 2.6.18-5-686 i686 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Fri Dec 21 20:14:37 2007 This archive was generated by hypermail 2.1.8 : Wed Feb 27 2008 - 23:06:23 EST |
||||||||||
|
|||||||||||