Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- example ALL=(ALL) ALL
- sudo ls -l /root
- [sudo] password for example:
- /var/cache/.security.db: unable to flush: Permission denied
- sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted
- sudo: unable to open /var/db/sudo/example/2: Operation not permitted
- sudo: unable to send audit message: Operation not permitted
- sudo: unable to set supplementary group IDs: Operation not permitted
- sudo: unable to execute /bin/ls: Operation not permitted
- example ALL=/usr/local/bin/example_script.sh
- sudo /usr/local/bin/example_script.sh
- [sudo] password for example:
- sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted
- sudo: unable to open /var/db/sudo/example/1: Operation not permitted
- sudo: unable to send audit message: Operation not permitted
- sudo: unable to set supplementary group IDs: Operation not permitted
- sudo: unable to execute /usr/local/bin/example_script.sh: Operation not
- examplehost sudo: pam_krb5[30799]: authentication succeeds for 'example' (example@exampledomain)
- examplehost sudo: example : unable to open /var/db/sudo/example/2 : Permission denied ; TTY=pts/2 ; PWD=/home/example ; USER=root ; COMMAND=/bin/ls -l /root
- examplehost example : TTY=pts/2 ; PWD=/home/example ; USER=root ; COMMAND=/bin/ls -l /root
- examplehost sudo: pam_keyinit(sudo:session): Unable to change GID to 0 temporarily examplehost su: pam_unix(su-l:session): session closed for user example
- examplehost su: pam_unix(su-l:session): session closed for user example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement