Guest User

HackIM 2016 / Web400: sudo messed up

a guest
Feb 4th, 2016
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ uname -a
  2. Linux ip-172-30-1-105 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  3.  
  4. $ cat /etc/issue
  5. Ubuntu 14.04.3 LTS \n \l
  6.  
  7. $ id
  8. uid=33(www-data) gid=33(www-data) groups=33(www-data),27(sudo)
  9.  
  10. $ sudo -l
  11. sudo: unable to resolve host ip-172-30-1-105
  12. Matching Defaults entries for www-data on ip-172-30-1-105:
  13. env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
  14.  
  15. User www-data may run the following commands on ip-172-30-1-105:
  16. (ALL : ALL) NOPASSWD: ALL
  17. (ALL : ALL) ALL
RAW Paste Data