Guest User

Untitled

a guest
Dec 15th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. sudo su
  2. sudo: unable to stat /etc/sudoers: Permission denied
  3. sudo: no valid sudoers sources found, quitting
  4. sudo: unable to initialize policy plugin
  5.  
  6. drwxr-xr-x 157 root root 12288 Dec 15 15:36 /etc/
  7. -rw-r--r-- 1 root root 755 Dec 15 15:36 /etc/sudoers
  8.  
  9. apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall sudo
  10.  
  11. #
  12. # This file MUST be edited with the 'visudo' command as root.
  13. #
  14. # Please consider adding local content in /etc/sudoers.d/ instead of
  15. # directly modifying this file.
  16. #
  17. # See the man page for details on how to write a sudoers file.
  18. #
  19. Defaults env_reset
  20. Defaults mail_badpass
  21. Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
  22.  
  23. # Host alias specification
  24.  
  25. # User alias specification
  26.  
  27. # Cmnd alias specification
  28.  
  29. # User privilege specification
  30. root ALL=(ALL:ALL) ALL
  31.  
  32. # Members of the admin group may gain root privileges
  33. %admin ALL=(ALL) ALL
  34.  
  35. # Allow members of group sudo to execute any command
  36. %sudo ALL=(ALL:ALL) ALL
  37.  
  38. # See sudoers(5) for more information on "#include" directives:
  39.  
  40. # includedir /etc/sudoers.d
Add Comment
Please, Sign In to add comment