Created
January 5, 2015 16:40
-
-
Save joelgriffith/dc4024a718fa0e9a1bd2 to your computer and use it in GitHub Desktop.
Change Shell to ZSH when passwords aren't known
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
# Mount FS as read/write | |
mount -rw -o remount / | |
# Delete old passwd... | |
sudo passwd -d <USERNAME> | |
# Set passwd | |
passwd | |
# Set shell! | |
chsh -s /bin/zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment