changed shell to tcsh, now can't login

Gilles Gravier Gilles at Gravier.org
Tue Oct 2 15:37:15 UTC 2007


Try booting the installation CD... then mounting your hard disk.

Then edit the /etc/passwd of your hard disk... The last field of this 
file is your shell... replace with /bin/bash and reboot ...

You might just have made a typo... tcsh is /usr/bin/tcsh ... This means 
that /etc/passwd needs to contain /usr/bin/tcsh at the end of the 
line... not just tcsh ...

Gilles.



Jay Lieurance wrote:
> Hi,
>
> I changed my shell to tcsh on my ubuntu 7.04 server. I logged out and 
> when I logged back in, it said it can't find the file. Since that is 
> the only account, what do I do, reload?
>
> Thanks.
> J
>
> ------------------------------------------------------------------------
> Windows Live Hotmail and Microsoft Office Outlook -- together at last. 
> Get it now! 
> <http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033>

-- 
/*Gilles Gravier*/ *=* *Gilles at Gravier.org* <mailto:Gilles at Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles at Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
My Last Known Position / Ma Derniere Position Connue 
<http://www.gmap-track.com/user.php?user=ggravier>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus 
aberrante." [Anatole France]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071002/f4040d64/attachment.html>


More information about the ubuntu-users mailing list