Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I make Bash my default shell on Ubuntu?

I want to change my default shell in Ubuntu to ZSH. What's the command to do this?

share|improve this question

marked as duplicate by akira, grawity, Nifle, Tom Wijsman, Ƭᴇcʜιᴇ007 Dec 10 '11 at 1:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
zsh is a shell, not a terminal. – grawity Dec 9 '11 at 8:03
up vote 14 down vote accepted

Use

chsh -s $(which zsh)

Unlike adduser or useradd or editing /etc/passwd, this will allow you to change your shell without having root rights.

share|improve this answer

hum ... zsh is a shell, not a terminal.

An alternative answer to MrStatic's is using change the default shell with chsh, this can be done for your account without any root privileges.

share|improve this answer

You would have to edit your /etc/passwd

Use the vipw command and change the shell next to the user you want to change. To make it the default for all new users useradd -D -s /bin/bash

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .