How can I add more users to the "sudoers" file?
|
Just edit the file But you are supped to use So that would be:
Here are some links that could be useful: |
|||||||||
|
|
My preferred method is to add them to the In Ubuntu Linux, the
Your mileage may vary with other distros, however, someone thought the group method made more sense than the sudoers file getting itself updatified. Less room for getting it wrong and locking everyone out of being superuser seems to be the reason. |
|||||
|
|
Just edit your sudoers file
and add the username like 'uk' without quotes
Save and exit would give the access. |
|||||||||
|
|
You may have to add option 'NOPASSWD' if user scripts would use commands/binaries which can be run only with "sudo", e.g.
It is also possible to specify group instead of user name. So you need not list each and every user, e.g.
|
|||||
|