Difference between revisions of "Sudo tanpa password di ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Sumber: http://www.abie-azki.co.cc/2010/03/sudo-tanpa-password-di-ubuntu.html | 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=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== | |
− | + | * [[Linux Howto]] | |
+ | * [[sudo: menjalankan command di script]] | ||
− | |||
− | + | [[Category: Linux]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
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