SHARE
TWEET

Untitled

a guest Jul 17th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. To run a command as administrator (user "root"), use "sudo <command>".  
  2. See "man sudo_root" for details.
  3.      
  4. touch ~/.sudo_as_admin_successful
  5.      
  6. rm ~/.sudo_as_admin_successful
  7.      
  8. # sudo hint
  9. # if [ ! -e "$HOME/.sudo_as_admin_successful" ]; then
  10. #     case " $(groups) " in * admin *)
  11. #     if [ -x /usr/bin/sudo ]; then
  12. #     cat <<-EOF
  13. #     To run a command as administrator (user "root"), use "sudo <command>".
  14. #     See "man sudo_root" for details.
  15. #    
  16. #     EOF
  17. #     fi
  18. #     esac
  19. # fi
  20.      
  21. $ sudo grep -R "man sudo_root" /etc
  22.      
  23. /etc/bash.bashrc:   See "man sudo_root" for details.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top