2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00

superuser ALL=(ALL) NOPASSWD:ALL

This commit is contained in:
Igor Chubin 2017-05-31 09:48:36 +02:00 committed by GitHub
parent bc644157e4
commit 0d1f6b1153

View File

@ -27,3 +27,7 @@ echo "foo bar" | sudo tee -a /path/to/some/file
# run root shell # run root shell
sudo -i sudo -i
# to disable password for sudo for user superuser add
# superuser ALL=(ALL) NOPASSWD:ALL
# in /etc/sudoers