When I got my server up and running, it was dumping me into a default C-Shell. I am familiar with the Bourne Again SHell, or BASH. I kept having to invoke the BASH shell upon login, which just get’s annoying. Here’s how I defaulted my user to use the BASH shell.

$ sudo vim /etc/passwd

This will give you a long listing of user accounts on your Linux OS. The items are a colon “:” sperated value list. Here’s a breakdown of what everything means:

username:encrypted password field:user id (UID):group id (GID):Real Name:Home Directory:Shell

So for my user to be defaulted to the BASH shell:

username:x:1000:1000::/home/username:/bin/bash

Cheers!

Posted by Chris Klosowski

Chris Klosowski is the Director of Technology at Sandhills Development, LLC, creators of fine WordPress plugins, and ecommerce solutions.

3 Comments

  1. This is very interesting, You are a very skilled blogger.

    I have joined your feed and look forward to seeking more of your
    great post. Also, I’ve shared your web site in my social networks!

    Reply

  2. Wonderful blog! I found it while browsing on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Thank you

    Reply

  3. I am not certain the place you are getting your
    info, however great topic. I needs to spend a while learning more or working out more.
    Thank you for magnificent info I used to be looking for
    this info for my mission.

    Reply

Leave a reply

Your email address will not be published. Required fields are marked *