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:
parent
bc644157e4
commit
0d1f6b1153
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user