Guest User

Untitled

a guest
Nov 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. sudo chown [username] -hR /
  2.  
  3. sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
  4.  
  5. chown -R root:root /usr/bin/sudo
  6. chmod -R a=rx,u+ws /usr/bin/sudo
  7. chown -R root:root /usr/lib/sudo/sudoer.so
  8. chmod -R a=rx,u+ws /usr/lib/sudo/sudoer.so
  9.  
  10. autologin-user=root
  11. greeter-show-manual-login=true
  12.  
  13. chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
  14.  
  15. vi /etc/lightdm/lightdm.conf
  16.  
  17. autologin-user=root
  18. greeter-show-manual-login=true
  19.  
  20. chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
Add Comment
Please, Sign In to add comment