PDA

View Full Version : Changing default shell



wsharten
03-24-2004, 01:36 PM
I need to make /bin/bash my default shell when I login, instead of the pre-configured /bin/sh. I also need to setup some additional PATH entries.

It appears this cannot be done with Westhost's virtual server technology.

At login, the /etc/passwd default shell setting is ignored, ~/.bashrc is ignored, and ~/.profile is ignored.

Apparently, there is no way to automatically run startup commands when you login, as you would find on all other linux/unix servers.

Has anyone found a way to change the default shell, or to automatically run any commands at login?

FZ
03-24-2004, 01:47 PM
Haven't tried changing the default shell (though I wanted to at one point), but changing .bashrc (e.g. to add aliases and so on) works for me (but it requires you to logout and back in).