[sudoers]How-to edit '/etc/sudoers'?
by bh0laJi from LinuxQuestions.org on (#5BWFD)
Hello,
May i ask that:
#1: How-to edit '/etc/sudoers'(aka 'sudo' Policy) file if:
The 'root' user want a nonRoot user 'bh0laJi' to be able to execute "/bin/shutdown -h now" and a script '/bin/rdshft.sh', and nothing else as 'sudo'.
#2: What does each of the 'ALL' in "ALL=(ALL:ALL) ALL" mean?
Distribution: Debian+, ArchLinux...
Thanking you...


May i ask that:
#1: How-to edit '/etc/sudoers'(aka 'sudo' Policy) file if:
The 'root' user want a nonRoot user 'bh0laJi' to be able to execute "/bin/shutdown -h now" and a script '/bin/rdshft.sh', and nothing else as 'sudo'.
#2: What does each of the 'ALL' in "ALL=(ALL:ALL) ALL" mean?
Distribution: Debian+, ArchLinux...
Thanking you...