Difference between revisions of "Sudo tanpa password di ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 8: | Line 8: | ||
username ALL=NOPASSWD: ALL | username ALL=NOPASSWD: ALL | ||
+ | username ALL=(ALL:ALL) NOPASSWD:/path/aplikasi.sh | ||
Contoh | Contoh | ||
pradna ALL=NOPASSWD: ALL | pradna ALL=NOPASSWD: ALL | ||
− | + | pradna ALL=(ALL:ALL) NOPASSWD:/path/aplikasi.sh | |
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 10:32, 17 December 2018
Sumber: http://www.abie-azki.co.cc/2010/03/sudo-tanpa-password-di-ubuntu.html
Edit
vi /etc/sudoers
Masukan user yang di kasi ijin
username ALL=NOPASSWD: ALL username ALL=(ALL:ALL) NOPASSWD:/path/aplikasi.sh
Contoh
pradna ALL=NOPASSWD: ALL pradna ALL=(ALL:ALL) NOPASSWD:/path/aplikasi.sh