From 0d1f6b11539e0168c32bea6d0c746f43a8dcf528 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 31 May 2017 09:48:36 +0200 Subject: [PATCH] superuser ALL=(ALL) NOPASSWD:ALL --- sheets/sudo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sheets/sudo b/sheets/sudo index 842b8e6..62dc39f 100644 --- a/sheets/sudo +++ b/sheets/sudo @@ -27,3 +27,7 @@ echo "foo bar" | sudo tee -a /path/to/some/file # run root shell sudo -i + +# to disable password for sudo for user superuser add +# superuser ALL=(ALL) NOPASSWD:ALL +# in /etc/sudoers