(रेवंत) Revant Nandgaonkar wrote:
# "bhai" can access all commands on all hosts without entering # a password
bhai ALL=NOPASSWD: ALL
Thanks. I tried this but it gives bhai root access without typing the command sudo. Eg. Bhai was able to vi /etc/passwd without sudo. This is too risky. At least he must have to use sudo. After removing the line, if bhai gives sudo vi /etc/passwd then a password is asked. Root passwd does not work. Should I create a passwd for sudo as if it is a user?
In the above case, how different is the user bhai's full access to the system different from a root login's access? Where is sudo's safety factor? This is getting interesting. :)
Regards,
Rony.
___________________________________________________________ Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - http://santas-christmas-party.yahoo.net/