Well, you should have seen a line like
root ALL=(ALL) ALL
The syntax of the line is
Code:
user machine=(effective user) commands
For example,
skyeye sun.skyeye.net=(kernighan) /usr/bin/nmap,/usr/bin/nessus
tells to allow the user "skyeye" to run "nmap" and "nessus" commands as user "kernighan" on the host "sun.skyeye.net".
For more information, try Google Linux search and try
this also.
If you don't want to give the password everytime try this line with the appropriate information changes (such as usernames)
Code:
kernighan ALL=(loopoo) NOPASSWD: ALL
This allows "kernighan" to run any command as "loopoo" without giving the password.