[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]