To allow all users to set-up password-less sudo
Edit the visudo file by simply typing
ALL ALL = (ALL) NOPASSWD: ALL
to allow all users to run all commands without a password.
Add the following line for a user called username alone to setup password-less sudo
username ALL=(ALL) NOPASSWD: ALL
Add the following line for a group called wheel to set-up password-less sudo
# %wheel ALL=(ALL) NOPASSWD: ALL
Edit the visudo file by simply typing
ALL ALL = (ALL) NOPASSWD: ALL
to allow all users to run all commands without a password.
Add the following line for a user called username alone to setup password-less sudo
username ALL=(ALL) NOPASSWD: ALL
Add the following line for a group called wheel to set-up password-less sudo
# %wheel ALL=(ALL) NOPASSWD: ALL
No comments:
Post a Comment