• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do I change my default shell?

screw3d

Diamond Member
On my school's Sun machine, I tried to change the default shell from csh to tcsh using:

>chsh

a prompt will ask me to enter the path to the new shell that I want.. I do that, log out and log in again, but it is still csh..

Then I tried this

>chsh <myusername> /bin/tcsh

The command executed without problems, but it still remains csh..

What am I doing wrong here?

/noobie 😱
 
What you did looks right to me. I assume you're checking success by looking in a process table or something? The two shells are very similar after all.

edit: Another thought... since this is on a Sun, I'm guessing you're part of a large network. Is chsh the correct way to change shells in your network environment. In some NIS-type setups, you need a special command like ypchsh to change the NIS info.
 
Back
Top