Sudo set up with password
- Remember when you use sudo you enter your user password not the root password
- you will need to change name to your user name
- Open a terminal and copy paste below one line at a time pressing enter after each line. (root password will be required)
su - echo 'name ALL=(ALL) ALL' >> /etc/sudoer chmod +w /etc/sudoers echo 'name ALL=(ALL) PASSWD:ALL' >> /etc/sudoers chmod -w /etc/sudoers |
Sudo set up with no password
- This could potentially be a security threat if other people use your computer
- you will need to change name to your user name
- Open a terminal and copy paste below one line at a time pressing enter after each line. (root password will be required)
su echo 'name ALL=(ALL) ALL' >> /etc/sudoer chmod +w /etc/sudoers echo 'name ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers chmod -w /etc/sudoers |