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.
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)