The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to change your default login shell. klarue7 Shell Programming and Scripting 3 05-07-2009 10:15 AM
Changing Default Shell Ricardo-san OS X (Apple) 5 04-26-2009 02:28 PM
Mac OS X: Keychain Access asks for keychain "login" after changing login password iBot OS X Support RSS 0 03-19-2009 10:50 PM
cannot login after changing login shell hardesh HP-UX 4 09-14-2005 01:21 AM
changing login prompt on redhat juilan UNIX for Dummies Questions & Answers 6 07-25-2003 11:14 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-13-2009
z1dane's Avatar
z1dane z1dane is offline
Registered User
  
 

Join Date: Aug 2007
Location: Brisbane, Australia
Posts: 28
Changing default login shell

Hi everybody,

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.

However when I do, getent passwd d.tang

d.tang:x:10948:20004:Dave Tang:/home/d.tang:/bin/csh

I don't have root privileges, but even if I did I don't even know where this information is coming from.

Could someone shed some light on this?

Many thanks,

Dave

PS Currently I just setup .cshrc to say /bin/bash and when that changes my .bashrc and .bash_profile are loaded.

Last edited by z1dane; 07-13-2009 at 10:50 PM.. Reason: disabled smilies as it interfered with text
 

Bookmarks

Tags
bash, csh, default, getent, shell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0