Thursday, June 7, 2007

Setting up sudo

Setting up “sudo”

Type “su” and login as root

then type “visudo”

under # User privilege specification

on the line under root

type “i” to insert

then type:

username ALL=NOPASSWD:ALL

Then hit “Esc”

then type “:wq” then hit enter

Now you should not get prompted for password when you sudo a command.