Advertisement
Guest User

Untitled

a guest
Jun 4th, 2011
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. vps:~# sudo -u www-data sudo /home/duke/aa/scripts/test.sh
  2. >>> sudoers file: syntax error, line 22 <<<
  3. sudo: parse error in /etc/sudoers near line 22
  4. vps:~# visudo /etc/sudoers
  5.  
  6. # /etc/sudoers
  7. #
  8. # This file MUST be edited with the 'visudo' command as root.
  9. #
  10. # See the man page for details on how to write a sudoers file.
  11. #
  12.  
  13. Defaults env_reset
  14.  
  15. # Host alias specification
  16.  
  17. # User alias specification
  18.  
  19. # Cmnd alias specification
  20.  
  21. # User privilege specification
  22. root ALL=(ALL) ALL
  23.  
  24. # Uncomment to allow members of group sudo to not need a password
  25. # (Note that later entries override this, so you might need to move
  26. # it further down)
  27. # %sudo ALL=NOPASSWD: ALL
  28. www-data: ALL=(root) NOPASSWD: /home/duke/aa/scripts/test.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement