From owner-freebsd-questions Wed Oct 20 6:15:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bernie.kbinirsnb.be (bernie.kbinirsnb.be [193.190.234.3]) by hub.freebsd.org (Postfix) with ESMTP id 6BF131B86A for ; Wed, 20 Oct 1999 06:14:26 -0700 (PDT) (envelope-from marcus@kbinirsnb.be) Received: from px20_115.kbinirsnb.be (PX20_115 [192.168.20.115]) by bernie.kbinirsnb.be (8.9.3/8.9.3) with SMTP id PAA28953 for ; Wed, 20 Oct 1999 15:11:34 +0200 (MET DST) From: Marc Dubrowski Reply-To: marcus@kbinirsnb.be Organization: KBINIRScNB To: freebsd-questions@freebsd.org Subject: lost root shell (silly isn't it?) Date: Wed, 20 Oct 1999 15:01:50 +0200 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99102015133703.00326@px20_115.kbinirsnb.be> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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