Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Change your login shell in Leopard UNIX
To change the login shell of your account in Leopard, do this...

Control-click on your account name in the Accounts pane of System Preferences and choose Advanced Options in the contextual menu that appears (you'll have to unlock the pane first, by clicking the lock icon).

In the resulting Advanced Options screen, either type in the path to your preferred shell, or choose among the various shells already installed in /bin: bash, tcsh, sh, csh, zsh, or ksh. Finally, click on OK.

The note at the top of the Advanced Options screen claims you have to restart for the change to take effect, but you really just need to log out and back in again.
    •    
  • Currently 4.00 / 5
  You rated: 4 / 5 (13 votes cast)
 
[70,881 views]  

10.5: Change your login shell in Leopard | 7 comments | Create New Account
Click here to return to the '10.5: Change your login shell in Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Change your login shell in Leopard
Authored by: solefald on Oct 30, '07 12:23:00PM
you can achieve the same thing by running following command as root or sudo:

# chsh -s /path/to/your/shell username

Please make sure that /path/to/your/shell exists in /etc/shells. If it does not, you will not be able to login, or open new terminal windows.

[ Reply to This | # ]
10.5: Change your login shell in Leopard
Authored by: wgscott on Oct 30, '07 11:53:56PM

chsh -s /bin/zsh

is all you need to change your own shell. No root or sudo required, unless you want to change someone else's.

Needless to say, everyone should change to zsh.



[ Reply to This | # ]
10.5: Change your login shell in Leopard
Authored by: pvaldoni on Oct 31, '07 03:48:58AM

I'm not very good at it. What shall I do exactly, in order to login and have a "Solid Aqua dark blue" desktop only, avoiding the "Aurora" ?
Many thanks for answering me.

pvaldoni (Rome) p.valdoni@tin.it



[ Reply to This | # ]
10.5: Change your login shell in Leopard
Authored by: wgscott on Oct 31, '07 12:12:38AM

chsh -s /bin/zsh

is all you need to change your own shell. No root or sudo required, unless you want to change someone else's.

Needless to say, everyone should change to zsh.



[ Reply to This | # ]
10.5: Change your login shell in Leopard
Authored by: wjv on Oct 31, '07 05:37:26AM

Wow, chpass(1) has been patched to update Open Directory in Leopard?!

I'm pretty sure it didn't affect NetInfo in Tiger and earlier... did it?

Anyway, one can of course also manually go and edit the directory using dscl(1). Something like:

dscl . -change /Users/<username> UserShell <old_shell> <new_shell>



[ Reply to This | # ]
10.5: Change your login shell in Leopard
Authored by: wgscott on Oct 31, '07 06:44:15AM

It has been like that at least since 10.3.

I never gave it much thought, but you are right, that is quite impressive.



[ Reply to This | # ]
10.5: Change your login shell in Leopard
Authored by: vramin on Aug 25, '08 09:52:03AM

You could just change the login shell in Terminal's preferences and leave the default alone.



[ Reply to This | # ]