From owner-freebsd-questions@FreeBSD.ORG Tue May 4 05:43:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8676616A4CE for ; Tue, 4 May 2004 05:43:51 -0700 (PDT) Received: from mail.uk.psi.com (mail.uk.psi.com [154.8.2.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2607743D4C for ; Tue, 4 May 2004 05:43:51 -0700 (PDT) (envelope-from Daniel.Bye@psineteurope.com) Received: from ip12.ops.uk.psi.com ([154.8.22.12]) by mail.uk.psi.com with esmtp (Exim 3.33 #1) id 1BKzH3-0006ZN-00 for freebsd-questions@freebsd.org; Tue, 04 May 2004 13:43:49 +0100 Received: from danielby by ip12.ops.uk.psi.com with local (Exim 4.32; FreeBSD) id 1BKzH3-0009Fj-3G for freebsd-questions@freebsd.org; Tue, 04 May 2004 13:43:49 +0100 Date: Tue, 4 May 2004 13:43:48 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20040504124348.GB70137@ip12.ops.uk.psi.com> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Subject: Re: SINGLE_USER X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 12:43:51 -0000 On Tue, May 04, 2004 at 08:29:24AM -0400, Osmany Guirola Cruz wrote: > Why in single-user mode I have direct acces to the root account? Because it is useful to be able to log in as root in single user mode. It is generally only used for admin/repair purposes, and not for every day work. > Why the system does not ask for a password to enter in single-user > mode? Because you haven't told the system to ask for a password. In /etc/ttys, change: console none unknown off secure to: console none unknown off insecure Next time you enter single user mode, you will be prompted for the root password. You can test it by running `shutdown now'. Dan -- Daniel Bye SA-DEV PSINet Europe Brookmount Court Kirkwood Road Cambridge CB4 2QH UK