edit visudo untuk permission apache

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
anie
Posts: 4
Joined: 10 Jun 2013, 08:55

edit visudo untuk permission apache

Postby anie » 10 Jun 2013, 09:30

gan, gimana caranya untuk memberikan permission user selain root., spya dapat meangakses apache tanpa password menggunakan visudo?
mohon bantuannya gan
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: edit visudo untuk permission apache

Postby thrvers » 10 Jun 2013, 16:27

'
masih bingung pertanyaannya, tapi mungkin ini :( :
[spoiler]

Code: Select all

# # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # Defaults env_reset Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL # See sudoers(5) for more information on "#include" directives: #includedir /etc/sudoers.d #ini buat semua file executable tanpa password #thrvers ALL=(ALL) NOPASSWD: ALL # ini buat file executable tertentu tanpa password thrvers ALL= NOPASSWD: /usr/sbin/synaptic
[/spoiler]
resiko tanggung penumpang (ubuntu 12.04)

Who is online

Users browsing this forum: No registered users and 40 guests