Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2004

    Default Changing default shell

    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?

  2. #2
    Senior Member FZ's Avatar
    Join Date
    May 2003
    Johannesburg, South Africa


    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).
    Fayez Zaheer

Similar Threads

  1. Changing default mail server
    By iopener in forum E-mail / FTP Management
    Replies: 2
    Last Post: 11-06-2006, 03:37 AM
  2. How To Change The Default MySQL Collation ?
    By Mistra in forum PHP / MySQL
    Replies: 1
    Last Post: 07-24-2006, 07:30 AM
  3. chang sh sell to tcsh shell
    By dentown in forum Solutions
    Replies: 1
    Last Post: 12-26-2005, 04:23 PM
  4. Accidently changed my shell
    By j103c in forum Account Maintenance
    Replies: 13
    Last Post: 08-05-2004, 02:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts