Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ssh remotehost "sudo ./binary"
- ssh -t remotehost "sudo ./binary"
- sudo: no tty present and no askpass program specified
- # Members of the admin group may gain root privileges
- %admin ALL=(ALL) NOPASSWD:ALL
- # Allow admins to shutdown without pass
- %adm ALL=(ALL) NOPASSWD: /sbin/shutdown
- myuser ALL=(root) NOPASSWD:
- /bin/ls -la
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement