please help! -- F12: login disallowed upon changing shell from bash to tcsh

Steven W. Orr steveo at syslang.net
Mon Dec 21 02:03:13 UTC 2009


On 12/19/09 18:28, quoth Tony Nelson:
> On 09-12-19 15:27:48, Globe Trotter wrote:
>> --- On Fri, 12/18/09, Aldo Foot <lunixer at gmail.com> wrote:
>  ...
>>> So... the tcsh rpm is installed?
>>>    $ rpm -qa tcsh
>> tcsh-6.15-8.fc12
>>
>> Yes, it is!
> 
> Possibly some of the shell scripts used by GDM (or whatever) don't 
> specify the interpreter with a shebang line.  If they're written to 
> assume bash and bash is the default they'll work, but not if tcsh is 
> the default.  If adding a first line of "#!/bin/bash" fixes the 
> problem, file a bug against the relevant package.  (Usually you can 
> find the package with `rpm -qf /path/to/file`.)  Good luck.
> 

I agree that a bug should be filed if that is the problem, but it wouldn't
hurt to also read that old classic

Csh Programming Considered Harmful
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

Even if it's a bug, hundreds of reasons to not use tcsh in the first place
might make it easier to switch over. I'll even help you rewrite your old login
scripts. :-)

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20091220/6552ab1f/attachment-0001.sig>


More information about the fedora-list mailing list