Changes

From Amahi Wiki
Jump to: navigation, search
468 bytes added ,  16:46, 10 September 2011
no edit summary
This is how you enable =Enable '''sudo ''' for a user=If you receive the message:"'HDA_username' is not in the sudoers file. This incident will be reported."
==Command Line Edit==
* Login as root {{Code|Code= su}}
* Copy and Paste: {{Code|Code= 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.
 
==Manual Edit of Sudoers File==
* Login as root
* Run: visudo
25

edits