Programming My Life
Sunday, March 6, 2011
making a user a sudo user
echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers
Where 'loginname' is your user account.
Use 'ALL=(ALL) NOPASSWD:ALL' if you don't want to be prompted a password.
If you are prompted for a password with 'sudo' it is the user password, not root.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment