From owner-freebsd-questions Wed Jun 24 19:41:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27109 for freebsd-questions-outgoing; Wed, 24 Jun 1998 19:41:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ultra1.dreamscape.com (ultra1.dreamscape.com [206.64.128.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27066 for ; Wed, 24 Jun 1998 19:41:08 -0700 (PDT) (envelope-from aaron@csh.rit.edu) Received: from thud.homenet (uA2-p59.dreamscape.com [209.4.253.59]) by ultra1.dreamscape.com (8.8.5/8.8.4) with ESMTP id WAA03974 for ; Wed, 24 Jun 1998 22:40:57 -0400 (EDT) Received: (from aaron@localhost) by thud.homenet (8.8.7/8.8.7) id WAA00397; Wed, 24 Jun 1998 22:40:34 -0400 (EDT) (envelope-from aaron) Message-ID: <19980624224034.11799@homenet> Date: Wed, 24 Jun 1998 22:40:34 -0400 From: Aaron Jeremias Luz To: FAQ@FreeBSD.ORG Subject: Problem with question 8.20 (Eek! I forgot the root password!) Reply-To: aaron@csh.rit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetings FreeBSD team, The answer for question 8.20, "Eek! I forgot the root password," fails to work because passwd lives on /usr which may not be mounted. /usr may be mounted if dropping into single user mode from multiuser mode, but most people who forget the root password realize so only after a power cycle. The following sequence of commands works for me. # /sbin/mount -a # /usr/bin/passwd root # exit Note also that the full pathname of the commands may be required since login classes are not available and many people do not explicitly put PATH in their shell profiles. (Well, /usr/bin isn't necessary, but it doesn't hurt.) Hope this helps, Aaron Luz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message