From owner-freebsd-questions Tue Nov 16 16:43:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from vinyl.sentex.ca (vinyl.sentex.ca [209.112.4.14]) by hub.freebsd.org (Postfix) with ESMTP id 6C52B14EA8 for ; Tue, 16 Nov 1999 16:43:32 -0800 (PST) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by vinyl.sentex.ca (8.9.3/8.9.3) with ESMTP id TAA29012; Tue, 16 Nov 1999 19:43:31 -0500 (EST) (envelope-from mike@sentex.net) Received: from ospf-mdt.sentex.net (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id TAA01610; Tue, 16 Nov 1999 19:43:31 -0500 (EST) From: mike@sentex.net (Mike Tancsa) To: yxpan@us.oracle.com (Yan Pan) Cc: questions@freebsd.org Subject: Re: How to reset the root password Date: Wed, 17 Nov 1999 00:43:50 GMT Message-ID: <3831f9a6.730684909@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 16 Nov 1999 18:26:27 -0500, in sentex.lists.freebsd.questions you wrote: >This is a multi-part message in MIME format. >--------------653BA6A6A0055170CE4C2721 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > >I'd like to know how to reset the root password for FreeBSD v2.2.5 passwd root If you have forgotten it, then reboot into single user mode... If I recall correctly, at the boot prompt before the kernel gets loaded etc, type in -s for single user mode. Then when you get to a shell prompt, you must do a mount -u / mount /usr passwd root sync;shutdown -r now Its also in the FAQ. ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message