From owner-freebsd-questions@FreeBSD.ORG Sat Dec 11 17:48:14 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF125106566B for ; Sat, 11 Dec 2010 17:48:14 +0000 (UTC) (envelope-from phanquochien@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 714488FC1A for ; Sat, 11 Dec 2010 17:48:14 +0000 (UTC) Received: by wyf19 with SMTP id 19so4629691wyf.13 for ; Sat, 11 Dec 2010 09:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=7WvJAegfikTSFPqS2h5IB+C2kb8hw0Dn+luSZ/k5Fb4=; b=RmUJNRcTgvbmIrjuUUbopDIsLbFckGzRJXl9Jb1Vtf/zZ/hwn8xsdw9sRhBG4lPGnj LUcvvWwdJjhin3WSqN2iKJtYoDMV3pD2ZIpYmQqysWmapCVOIxH1kpIwg3wMlqUz3sGT rdhIj5Iuxr2vRHI0FQ1m2AW3dUwUGRcJcJ4To= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ZW/DvLQP407JLCLXUvKEbJ4A80CtqgO6oGOewPPw4VSI2vCm3wTA1/O3MNivWSvtjL XcG7Ar43Cq3MpVIgFaKbg86dG8smWtcyLNA80qxmPcKv2T/FSsHefgChcQ4RxvRNX2Du saV9umr7vA53jQZ0TAOf/8q62gIBkTcQebj04= Received: by 10.227.207.133 with SMTP id fy5mr507173wbb.222.1292088528395; Sat, 11 Dec 2010 09:28:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.136.139 with HTTP; Sat, 11 Dec 2010 09:28:28 -0800 (PST) In-Reply-To: References: From: Phan Quoc Hien Date: Sun, 12 Dec 2010 00:28:28 +0700 Message-ID: To: "K. Yura" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: pass for single user mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2010 17:48:15 -0000 Hi, To set password for single usermode in FreeBSD: * 1.Edit /etc/ttys* vi /etc/ttys * 2.Change the following line *: *From* console none unknown off secure > *To* console none unknown off insecure > *3.Save and quit editor(vi)* Reboot the box and boot into single user mode, if you wanna test it. By the way, the keyword "insecure" imply to the console is insecure and thus required root password to be authenticated before single user mode can be access. It DOES NOT mean that the console is run insecurely. Take note. On Sat, Dec 11, 2010 at 11:02 PM, K. Yura wrote: > > ============================================================ > FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC > 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > ============================================================ > Hi. Where can I set up password for single user mode? Thanx. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" -- Best regards, Mr.Hien E-mail: phanquochien@gmail.com Website: www.mrhien.info