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.
Thanks!
-Ian
|