Facebook
From Gracious Peafowl, 4 Years ago, written in Bash.
This paste is a reply to root from Jago - view diff
Embed
Download Paste or View Raw
Hits: 366
  1. ubuntu@ip-172-31-40-141:/$ sudo apt-get install python-pip python-dev build-essential
  2. sudo: /etc/sudoers is world writable
  3. sudo: no valid sudoers sources found, quitting
  4. sudo: unable to initialize policy plugin
  5. ubuntu@ip-172-31-40-141:/$ sudo chmod o-w /etc/sudoers
  6. sudo: /etc/sudoers is world writable
  7. sudo: no valid sudoers sources found, quitting
  8. sudo: unable to initialize policy plugin
  9. ubuntu@ip-172-31-40-141:/$ pkexec apt-get purge sudo
  10. ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
  11. Authentication is needed to run `/usr/bin/apt-get' as the super user
  12. Authenticating as: Ubuntu (ubuntu)
  13. Password:
  14. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  15. ==== AUTHENTICATION FAILED ===
  16. Error executing command as another user: Not authorized
  17. This incident has been reported.
  18. ubuntu@ip-172-31-40-141:/$ passwd
  19. Changing password for ubuntu.
  20. (current) UNIX password:
  21. passwd: Authentication token manipulation error
  22. passwd: password unchanged
  23. ubuntu@ip-172-31-40-141:/$ sudo su
  24. sudo: /etc/sudoers is world writable
  25. sudo: no valid sudoers sources found, quitting
  26. sudo: unable to initialize policy plugin
  27. ubuntu@ip-172-31-40-141:/$ passwd root
  28. passwd: You may not view or modify password information for root.
  29.