Re: [ILUG] problem using su to root

From: Ruairi Newman (bofh at domain tech-mad.org)
Date: Fri 25 May 2001 - 09:30:45 IST


>
> Does anyone have any ideas about how I can fix this? Bearing in mind that
I
> can't log in as root.
>
Nice disclaimer, by the way.

Now, you say you can't su to OR login as root? First, check /etc/passwd
and check what root's shell is set to. If it is set to <PATH>/ksh, and
then chances are this is what's causing the problem. In this case try
running:

su - -c"/bin/bash" to su to root from where you can fix the problem. If
this doesn't work, you can also boot from your RH6.2 CD, type "linux rescue"
at the LILO Boot prompt, mount your / partition and fix it from there,

Hope this helps,

Rgds,

Ruairi



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:27 GMT