Change default shell in Solaris

home of a content challenger

Change default shell in Solaris

Changing the default shell in Solaris was a little harder than I expected. Default thingies like ‘cshs -s’ or ‘passwd -s’ didn’t seem to work on the installation. The trick was a combination of setting the SHELL variable and executing it afterwards. Put the following in your .profile file in your home directory:

export SHELL
exec $SHELL

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: