Difference between revisions of "Linux comand: visudo"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (→visudo) |
Rafahsolis (talk | contribs) |
| (One intermediate revision by the same user not shown) | |
(No difference)
| |
Latest revision as of 08:02, 7 June 2018
visudo
To give a user sudo permits
sudo visudo
add line:
pi ALL=(ALL) NOPASSWD: ALL
or
root ALL=(ALL:ALL) ALL
To allow some unprivileged user to run some commands with sudo:
joe ALL=(ALL) NOPASSWD: /full/path/to/command
or with some arguments:
joe ALL=(ALL) NOPASSWD: /full/path/to/command ARG1 ARG2