From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 01:37:24 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94A9D16A41F for ; Thu, 14 Jul 2005 01:37:24 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED9B43D49 for ; Thu, 14 Jul 2005 01:37:22 +0000 (GMT) (envelope-from john@essenz.com) Received: from [192.168.1.100] (pool-71-242-16-137.phil.east.verizon.net [71.242.16.137]) by beck.quonix.net (8.13.4/8.13.4) with ESMTP id j6E1bEb4019773 for ; Wed, 13 Jul 2005 21:37:14 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3447e5c6e159524801b5814e10badc8f@essenz.com> Content-Transfer-Encoding: 7bit From: John Von Essen Date: Wed, 13 Jul 2005 21:34:30 -0400 To: hackers@freebsd.org X-Mailer: Apple Mail (2.622) X-SpamAssassin-3.0.3-Score: -2.82/5.8 ALL_TRUSTED X-MimeDefang-2.51: beck.quonix.net X-Scanned-By: MIMEDefang 2.51 on 146.145.66.90 Cc: Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 01:37:24 -0000 boot single user... mount -u / mount -a Then use vipw or passwd to clear out or change root password. If you shutdown the system un-cleanly, you may have to do an fsck / as fragmentation will prevent the filesystem from being mounted read-write-able. -john On Jul 13, 2005, at 5:51 PM, estover@nativenerds.com wrote: >> Hi all, >> >> Is there a way to reset the root passwd without reinstalling FreeBSD >> 4.7. >> >> Thanks in advance >> >> Aman >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> > boot into single user mode > mount drives > set password for root. > reboot > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" >