Advertisement
Guest User

Untitled

a guest
Mar 27th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. ec2-user ALL = NOPASSWD: ALL
  2.  
  3. sudo: /etc/sudoers is world writable
  4. sudo: no valid sudoers sources found, quitting
  5. sudo: unable to initialize policy plugin
  6.  
  7. pkexec chmod 0440 /etc/sudoers
  8.  
  9. ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
  10. Authentication is needed to run `/usr/bin/chmod' as the super user
  11. Authenticating as: Cloud User (ec2-user)
  12. Password:
  13.  
  14. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  15. ==== AUTHENTICATION FAILED ===
  16. Error executing command as another user: Not authorized
  17.  
  18. This incident has been reported.
  19.  
  20. mount -uw /;mount -o remount,rw /;chmod 440 /etc/sudoers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement