|
Changing default login shell
Hi everybody,
The problem is quite simple, I want to change my default shell which is /bin/csh to /bin/bash. I have looked online for solutions to my problem, but to no avail.
I have tried chsh, but it tells me this:
chsh: can only change local entries; use ypchsh instead.
I use ypchsh, but I get:
ypchsh: can't get local yp domain: Local domain name not set
I looked at /etc/passwd, and I don't have an entry in this file.
However when I do, getent passwd d.tang
d.tang:x:10948:20004:Dave Tang:/home/d.tang:/bin/csh
I don't have root privileges, but even if I did I don't even know where this information is coming from.
Could someone shed some light on this?
Many thanks,
Dave
PS Currently I just setup .cshrc to say /bin/bash and when that changes my .bashrc and .bash_profile are loaded.
Last edited by z1dane; 07-13-2009 at 10:50 PM..
Reason: disabled smilies as it interfered with text
|