LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2006, 07:12 PM   #1
Alotau
Member
 
Registered: Jan 2005
Location: Fremont, CA
Distribution: Red Hat 9
Posts: 58

Rep: Reputation: 15
Choosing which shell starts when logging in remotely


Hello,

I like to use the bash shell. When I login in via ssh to my school it opens using csh. I modified my .cshrc file to launch bash. I have a nice .bashrc file that does what I want. Isn't there a better way to make sure I just start in bash? I looked at the /etc/passwd file (as directed by some sites after my first round of searching) and the only 'users' are daemon things and root (I see root is set up to have bash start for him/her).

I can provide more information if it is helpful. Thanks in advance for any help...
 
Old 10-19-2006, 07:30 PM   #2
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Try the chsh command next time you login. If that doesn't work you'll need to ask the sysadmin.
 
Old 10-19-2006, 07:47 PM   #3
Alotau
Member
 
Registered: Jan 2005
Location: Fremont, CA
Distribution: Red Hat 9
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks! I tried chsh but was prompted to use ypchsh since I am not a local user. Looks like may have done the trick!
 
Old 10-20-2006, 04:58 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Alotau
Thanks! I tried chsh but was prompted to use ypchsh since I am not a local user. Looks like may have done the trick!
You are usally prompted to us ypchsh or yppassword when you are using NIS. That may be the cause of you having to use ypchsh instead of chsh(which changes a local users default shell)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging into the console remotely Josh100 Linux - Newbie 3 05-09-2006 07:40 AM
Problems remotely logging into local machine bmccorm2 Linux - General 17 03-02-2006 09:14 AM
Remotely logging in in Redhat AS3 kinetik Red Hat 3 12-14-2005 05:11 AM
Logging into Linux machien remotely with graphical interface hopbalt Linux - Newbie 1 08-12-2004 02:11 PM
logging off remotely ceph Linux - Security 1 07-20-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration