From owner-freebsd-questions Thu Jan 22 11:04:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11259 for questions-outgoing; Thu, 22 Jan 1998 11:04:13 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mph124.rh.psu.edu (root@MPH124.rh.psu.edu [128.118.126.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11251 for ; Thu, 22 Jan 1998 11:04:09 -0800 (PST) (envelope-from mph@mph124.rh.psu.edu) Received: (from mph@localhost) by mph124.rh.psu.edu (8.8.8/8.8.8) id NAA13533; Thu, 22 Jan 1998 13:33:38 -0500 (EST) (envelope-from mph) Message-ID: <19980122133338.55185@mph124.rh.psu.edu> Date: Thu, 22 Jan 1998 13:33:38 -0500 From: Matthew Hunt To: Dan Rainey Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: your mail References: <66DB0D816614D111BB19080009DC3A09014ADA@challenger.grtk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <66DB0D816614D111BB19080009DC3A09014ADA@challenger.grtk.com>; from Dan Rainey on Thu, Jan 22, 1998 at 01:03:46PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Thu, Jan 22, 1998 at 01:03:46PM -0500, Dan Rainey wrote: > We have a FreeBSD system running TIS Toolkit Firewall Software. It is > only acting as an FTP Server right now. The problem is no one can > remember the root password. Any suggestions short of rebuilding the > server or calling my psychic Friend? Assuming you have physical access to the machine, and can reboot it: At the "Boot:" prompt, enter "-s" to boot in single user mode. After the system boots, it will ask for the pathname of a shell, or you can hit enter for /bin/sh. Hit enter. Run the following commands: fsck -p mount -u / mount -a -t ufs You can now run "passwd" to change the root password. Then "shutdown -r now" to reboot as usual. Matthew -- Matthew Hunt * Think locally, act globally. http://mph124.rh.psu.edu/~mph/pgp.key for PGP public key 0x67203349.