Guest User

Untitled

a guest
Nov 21st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. sudo: >>> /etc/sudoers: syntax error near line 30 <<<
  2. sudo: parse error in /etc/sudoers near line 30
  3. sudo: no valid sudoers sources found, quitting
  4. sudo: unable to initialize policy plugin
  5.  
  6. mount -o remount,rw /
  7.  
  8. EDITOR=nano visudo
  9.  
  10. sudo: >>> /etc/sudoers: syntax error near line 25 <<<
  11. sudo: parse error in /etc/sudoers near line 25
  12. sudo: no valid sudoers sources found, quitting
  13. sudo: unable to initialize policy plugin
  14.  
  15. pkexec visudo
  16.  
  17. # /etc/sudoers
  18. #
  19. # This file MUST be edited with the 'visudo' command as root.
  20. #
  21. # See the man page for details on how to write a sudoers file.
  22. #
  23.  
  24. Defaults env_reset
  25.  
  26. # Uncomment to allow members of group sudo to not need a password
  27. # %sudo ALL=NOPASSWD: ALL
  28.  
  29. # Host alias specification
  30.  
  31. # User alias specification
  32.  
  33. # Cmnd alias specification
  34.  
  35. # User privilege specification
  36. root ALL=(ALL) ALL
  37.  
  38. # Members of the admin group may gain root privileges
  39. %admin ALL=(ALL) ALL
  40.  
  41. EDITOR=gedit visudo
  42.  
  43. chmod 440 /etc/sudoers
  44.  
  45. chmod 775 /etc/sudoers.d
  46.  
  47. chmod 440 /etc/sudoers.d/README
Add Comment
Please, Sign In to add comment