Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vps:~# sudo -u www-data sudo /home/duke/aa/scripts/test.sh
- >>> sudoers file: syntax error, line 22 <<<
- sudo: parse error in /etc/sudoers near line 22
- vps:~# visudo /etc/sudoers
- # /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
- # Uncomment to allow members of group sudo to not need a password
- # (Note that later entries override this, so you might need to move
- # it further down)
- # %sudo ALL=NOPASSWD: ALL
- www-data: ALL=(root) NOPASSWD: /home/duke/aa/scripts/test.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement