Date: Wed, 19 May 1999 09:29:41 +0200 From: Ladavac Marino <mladavac@metropolitan.at> To: 'Marie-Josee Blais' <mjblais@miranda.com>, questions@FreeBSD.ORG Subject: RE: Problems su'ing to root Message-ID: <55586E7391ACD211B9730000C1100276179607@r-lmh-wi-100.corpnet.at>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Marie-Josee Blais [SMTP:mjblais@miranda.com] > Sent: Tuesday, May 18, 1999 8:37 PM > To: questions@FreeBSD.ORG > Subject: Problems su'ing to root > > Hello everyone, > I'm currently running FreeBSD 2.2.7 > > Once in a while something happens to my system and I can't su to root > from > the console or remotely. The system just hangs until I do a control c. > Su'ing to any other user works fine. I usually reboot and things go > back > to normal. Is there some way I could kill -HUP some process to get it > to > work again without rebooting ? > [ML] is your root home directory NFS mounted by any chance? If it is, don't do that. Namely, the default shell for root is csh and it always tries to read .cshrc from the users home directory on start (we have had a similar problem on our HPUX boxen, albeit not for root). there is still a way to get in, if your rcmd/rshd are enabled: rsh localhost -l root /bin/sh -i it should ask for password and let you in. -i is for prompt (at least on ksh; interactive mode). /Marino > Thanks for any help ! > /-----------------------------\ > | Marie-Josee Blais | > | Network Administrator | > | | > | E-mail:mjblais@miranda.com | > | --------------------------- | > | Technologies Miranda Inc. | > | Tel:(514) 333-1772 | > | Fax:(514) 333-9828 | > | Web: www.miranda.com | > \-----------------------------/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C1100276179607>