LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   making zsh the default (https://www.linuxquestions.org/questions/linux-general-1/making-zsh-the-default-268706/)

corbis_demon 12-21-2004 04:18 AM

making zsh the default
 
Hi,
I wanted to know how I could change my default shell from BASH to zsh.I tried tweaking some settings but that's not helped.
Please advise.

shmonkey 12-21-2004 06:11 AM

you could try chsh if it's availiable and the restart the X server

Code:

# chsh
Changing the login shell for root
Enter the new value, or press return for the default
        Login Shell [/bin/bash]:

Regards

Shmonkey

amfoster 12-21-2004 03:15 PM

Or, edit the /etc/passwd file (vipw) and change the shell there. It is the last field. Make sure you absolutely have the correct path to the zsh shell or you will not be able to log in with that account.


All times are GMT -5. The time now is 06:26 AM.