diriku mo berbagi pengalaman nie.. ![]()
diriku pake Debian Etch 4.0
user yang mo diriku kasih hak akses root nuhajat
dirimu bisa ngikutin langkah2 sbb:
inuexz:~# nano /etc/group // buka file adm:x:4:root,<span style="background-color:#00bf60;">nuhajat</span> // pada baris ke-5 tambahkan user name yang mo diberi hak akses root inuexz:~# nano /etc/pam.d/su auth required pam_wheel.so <span style="background-color:#007f40;">group=adm</span> // tambahkan group name inuexz:~# su - nuhajat //pindah ke user nuhajat (abis tanda strip pke spasi) nuhajat@inuexz~:$ su - // pindah ke root password: inuexz:~# <div class="color2">inuexz:~# aptitude install sudo // install sudo inuexz:~# visudo //edit konfigurasi sudo </div> # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # See the man page for details on how to write a sudoers file. # Defaults env_reset # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL) ALL <div class="color1"><span style="background-color:#007f40;">nuhajat</span> ALL=(ALL) ALL // tambah</div> // keluar editor dengan tombol Ctrl + X inuexz:~# su - nuhajat //pindah ke user nuhajat (abis tanda strip pke spasi) nuhajat@inuexz~:$ reboot //coba Restart -bash: reboot: command not found //gak bisa Restart nuhajat@inuexz~:$sudo reboot //coba reboot pake sudo Broadcast message from root@inuexz (pts/0) (Sun Apr 13 10:29:38 2008):
The system is going down for reboot NOW! //siiiiip dah ![]()
thankyu…. moga bisa membantu ![]()