Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-05-2007, 11:08 AM   #1
LQ Newbie
Registered: Feb 2007
Distribution: FC6
Posts: 6

Rep: Reputation: 0
I want to override loginShell value from LDAP server

Running FC6, LDAP authentication looks to a server/accounts out of my control, and someone on that end decided to set the loginShell for all new accounts for the last few years to tcsh, and they cannot logon to my build.

The error an account using tcsh gets is:
"/etc/x11/xinit/Xsession: line 89
/usr/local/bin/tcsh: no such file or directory"

Using that info, I went in and edited the Xsession file, changing the problem line by replacing the variable $SHELL with "/bin/bash", and that seems to work.

There has to be a more elegant/proper way to override the loginShell value, simply forcing all users to use bash, yes?

Any further details can be passed along, as needed.

Old 03-07-2007, 04:36 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
ln -s /usr/bin/bash /usr/local/bin/tcsh
Old 03-07-2007, 11:29 PM   #3
LQ Newbie
Registered: Feb 2007
Distribution: FC6
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

Originally Posted by Agrouf
ln -s /usr/bin/bash /usr/local/bin/tcsh
That seems to have done the trick. Undid my edits, made the link, rebooted for good measure (I come from a Windows environment), and had a newer/problem account holder log on successfully.

Your solution is so seemingly obvious and simple, Newbie really does seem to be the right place for me to have asked!



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
LDAP server not starting as user LDAP klnasveschuk Fedora 1 02-15-2007 04:49 AM
how do I move ldap database from old server to new server. gcarlisle Linux - General 1 10-07-2006 11:50 PM
LDAP server ignacioper Linux - General 0 03-28-2001 01:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 AM.

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