Friday, April 17, 2015

How To Add User To Sudoer File Without A password

I want to have a user have sudo access without needing a password, so I did this.

sudo vi /etc/sudoers

Set this up:

# Members of the admin group may gain root privileges
sudo service sudo restart
sudo adduser  sudo

No comments: