Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 1999 15:01:50 +0200
From:      Marc Dubrowski <marcus@kbinirsnb.be>
To:        freebsd-questions@freebsd.org
Subject:   lost root shell (silly isn't it?)
Message-ID:  <99102015133703.00326@px20_115.kbinirsnb.be>

next in thread | raw e-mail | index | archive | help
Hello all

I made a very stupid mistake: I've set root's shell to /sbin/nologin.
I know it's stupid, but I didn't recall how to prevent logging on directly from
the console.

Now, I'd like to change all this and get my shell back.

Can I start my computer in single user mode (and how?) and how to vipw from
there ?

Thanks in advance

Marcus


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?99102015133703.00326>