I was wondering: these are the instructions I was given to make it so I don't need to input my password after I sudo.
---
sudo visudo
<password>
comment out the line:
%sudo ALL=(ALL:ALL) ALL
and add a new line below it like this:
%sudo ALL=(ALL) NOPASSWD: ALL
sudo useradd -G sudo <user>
---
I was thinking that with the script being like that I probably don't need the last line because the way it is I am telling it no one needs a password with sudo. It would probably be more secure to have:
%sudo ALL=(ALL) NOPASSWD: <desired users>
is that correct? If I had multiple users who I wanted to not use a password would I separate the users with a space or comma? If I only wanted one user to be able to sudo it would be:
%sudo <user>=(ALL) NOPASSWD: <user>
what is the point of th ALL surrounded by parentheses?
:-)~MIKE~(-: