Guest User

Untitled

a guest
Mar 8th, 2018
767
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ~# service nginx restart
  2. ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  3. Authentication is required to restart 'nginx.service'.
  4. Authenticating as: pepito
  5. Password:
  6.  
  7. pepito ALL=NOPASSWD: /etc/init.d/nginx*
  8. pepito ALL=NOPASSWD: service nginx*
  9.  
  10. Identity=unix-user:pepito
  11. Action=org.freedesktop.systemd1.manage-units
  12. ResultInactive=yes
  13. ResultActive=yes
Add Comment
Please, Sign In to add comment