daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #includedir /etc/sudoers.d
  2. web ALL=NOPASSWD: ALL
  3. somebody ALL=NOPASSWD: ALL
  4.      
  5. web@web01:~$ sudo -u somebody sudo echo "success"
  6. [sudo] password for web:
  7.      
  8. web@web01:~$ sudo su - somebody
  9. Last login: Wed Mar  1 01:22:27 CST 2017 on pts/1
  10. somebody@web01:~$ sudo whoami
  11. root
  12. somebody@web01:~$ exit
  13. web@web01:~$ #success
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top