Last active
July 2, 2020 08:01
-
-
Save EnzDev/6b03c3f455c3ef3c53e8d6621d76901e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Require root perms, try to elevate | |
| if [ "$EUID" -ne 0 ]; then | |
| echo "Need to have root privilege (uid: $UID | euid: $EUID )" | |
| exit | |
| fi | |
| yum install --assumeyes -q tmux zsh zip unzip wget curl | |
| wget -O ~/.zshrc https://git.grml.org/f/grml-etc-core/etc/zsh/zshrc | |
| cp ~/.zshrc /home/root | |
| chsh --shell=/bin/zsh | |
| chsh --shell=/bin/zsh root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment