Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 21:12:58 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        arkii@netnet.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can't get into my own system...
Message-ID:  <199808200412.VAA06746@ix.netcom.com>
In-Reply-To: <199808200303.WAA19456@tigris.netnet.net> (arkii@netnet.net)

next in thread | previous in thread | raw e-mail | index | archive | help
The message is happening because someone has changed the root shell to
'nologin'.  If you have access to a FreeBSD system, look at
'man 8 nologin'.

What happens when you boot into single user mode?

Reboot the machine.  At the boot prompt, enter -s.  This should put
you into a mode that allows you to change the root shell.  This is a
sort of "root maintenance" mode.  You will have to mount the root file
system, 'mount -a' should work.

'/usr/sbin/vipw' should allow you to change the root shell.  Change
the last field in the "root" line to be '/bin/csh'.  Then, exit vipw
(:x).  After you get back to the prompt, 'exit' should allow the
machine to continue into the multi-user mode.

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?199808200412.VAA06746>