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.
Hi methyl, thanks for the reply and yes I have solved the problem.
However I was interested to see where the information for my default shell is stored. It isn't in /etc/passwd. Is there some way of finding out i.e. finding out where getent passwd d.tang gets its information from?
The solution to this was to contact my system admin, who just changed the global passwd file (which I still don't know where it resides) that my account was reading.