Script started on Mon Sep 23 16:49:57 2002 [root@magnolia etc]# ls sudo* sudoers [root@magnolia etc]# pico sudoers UW PICO(tm) 4.2 New Buffer Get Help WriteOut Read File Prev Pg Cut Text Cur Pos Exit Justify Where is Next Pg UnCut Text To Spell [ Reading file Read 28 lines File: sudoers H# sudoers file. # This file MUST be edited with the 'visudo' command as root. # See the sudoers man page for the details on how to write a sudoers file. # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # User privilege specification root ALL=(ALL) ALL # Uncomment to allow people in group wheel to run all commands # %wheel ALL=(ALL) ALL #Uncomment to allow people in group wheel to run all commands %wheel ALL=(ALL) ALL #Same thing without a password wheel ALL=(ALL) NOPASSWD: ALL # Samples %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now File Name to write : sudoers To Files Cancel Complete sudoersLAST20020923 [ Writing... ][ Wrote 28 lines ] File: sudoersLAST20020923 Get Help WriteOut Read File Prev Pg Cut Text Cur Pos Exit Justify Where is Next Pg UnCut Text To Spell File Name to write : sudoersLAST20020923 To Files C Cancel TAB Complete          Yes [No] File "sudoers" exists, OVERWRITE ? [ Writing... ][ Wrote 28 lines ] File: sudoers Get Help WriteOut Read File Prev Pg Cut Text Cur Pos Exit Justify Where is Next Pg UnCut Text To Spell sudoers file. # This file MUST be edited with the 'visudo' command as root. See the sudoers man page for the details on how to write a sudoers file. #Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # User privilege specification root ALL=(ALL) ALL # Uncomment to allow people in group wheel to run all commands # %wheel ALL=(ALL) ALL Modified barrie ALL ALL=(ALL) ALL Uncomment to allow people in group wheel to run all commands File Name to write :sudoers To Files Cancel Complete [ Writing... ][ Wrote 29 lines ] Get Help WriteOut Read File Prev Pg Cut Text Cur Pos Exit Justify Where is Next Pg UnCut Text To Spell [root@magnolia etc]# exit login login: Script done on Mon Sep 23 16:51:04 2002