Results 1 to 4 of 4

Thread: How to force the system to use bash instead of csh

  1. #1
    Join Date
    Apr 2007
    Beans
    891
    Distro
    Ubuntu 10.04 Lucid Lynx

    How to force the system to use bash instead of csh

    Hi,

    What should I change in the system to make it possible for the ssh client to have bash when they connect instead of having csh?

    When I connect to the server using ssh and invoke echo $SHELL it shows /bin/csh, I want to change it to /bin/bash.

    Thanks.
    Ubuntu 10.04
    ATI 3470
    4 GB RAM.

  2. #2
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to force the system to use bash instead of csh

    I am not familar with RHEL but you might try this:

    http://serverfault.com/questions/162...specific-shell

  3. #3
    Join Date
    Mar 2009
    Beans
    1,308

    Re: How to force the system to use bash instead of csh

    Log in as the user in question and then type chsh
    Help stamp out MBR partitions. Use GPT instead!

  4. #4
    Join Date
    Jan 2010
    Location
    Kolkata India
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to force the system to use bash instead of csh

    try modifying the user and point to bash as her default shell .
    Code:
    usermod -s /bin/bash username
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

Bookmarks

Posting Permissions

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