Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2000 22:13:15 +0200
From:      Bernd Luevelsmeyer <bernd.luevelsmeyer@heitec.net>
To:        Loren Koss <loren@pciway.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: I deleted my shell by mistake!!
Message-ID:  <39DB8F5B.DCEE9C12@heitec.net>
References:  <Pine.BSF.4.21.0010031716020.35678-100000@unix.pciway.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Loren Koss wrote:
> 
> Thats the problem.. I don't..  I have my regular user shell still
> open..  I can't SU to root anymore..  I think i've learned my lesson about
> changing roots shell!!  Any other suggestions??  Is it gonna be a problem
> even when I go to the console?  How about rebooting into single user
> mode?  Am I totally F*cked???


If you are still logged in, then 'su -m' should work. It will give you
root privileges without changing the environment, including the shell.
That means, it does not need root's shell.


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?39DB8F5B.DCEE9C12>