Skip to content

Instantly share code, notes, and snippets.

@joelgriffith
Created January 5, 2015 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelgriffith/dc4024a718fa0e9a1bd2 to your computer and use it in GitHub Desktop.
Save joelgriffith/dc4024a718fa0e9a1bd2 to your computer and use it in GitHub Desktop.
Change Shell to ZSH when passwords aren't known
# 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