Skip to content

Instantly share code, notes, and snippets.

@nikopol
Created March 30, 2021 04:00
Show Gist options
  • Save nikopol/9e9409b0d1a6cd2ed7e89be1849e0724 to your computer and use it in GitHub Desktop.
Save nikopol/9e9409b0d1a6cd2ed7e89be1849e0724 to your computer and use it in GitHub Desktop.
setup groot
#!/bin/bash
echo -e '
\033[00;32m \\^V//
\033[00;33m |\033[01;37m. \033[01;37m.\033[00;33m| \033[01;34m I AM (G)ROOT!
\033[00;32m- \033[00;33m\\ - / \033[00;32m_
\033[00;33m \\_| |_/
\033[00;33m \\ \\
\033[00;31m __\033[00;33m/\033[00;31m_\033[00;33m/\033[00;31m__
\033[00;31m|_______| \033[00;37m With great power comes great responsibility.
\033[00;31m \\ / \033[00;37m Use sudo wisely.
\033[00;31m \\___/
\033[0m
' > /etc/sudo.txt
echo 'Defaults lecture=always
Defaults lecture_file=/etc/sudo.txt' > /etc/sudoers.d/00-lecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment