From owner-freebsd-questions Wed Jun 24 14:43:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA07329 for freebsd-questions-outgoing; Wed, 24 Jun 1998 14:43:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA07273 for ; Wed, 24 Jun 1998 14:43:29 -0700 (PDT) (envelope-from jer@jorsm.com) Received: from localhost (jer@localhost) by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id QAA24503; Wed, 24 Jun 1998 16:43:22 -0500 (CDT) Date: Wed, 24 Jun 1998 16:43:21 -0500 (CDT) From: Jeremy Shaffner To: Roman Katsnelson cc: freebsd-questions@FreeBSD.ORG Subject: Re: root passwd In-Reply-To: <35915453.F1326936@graphnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 24 Jun 1998, Roman Katsnelson wrote: > Eek! I forgot the root password! > > Well, actually I didn't forget it, I set it, but then the system sorta > crashed and now it doesn't recognize it anymore. So I went to the FAQ > and it said to do this: > Odd. Are you sure you don't have the CAPS LOCK on? (Hey, it's a question I ask at least 10 times a day.) > (boot up in single user mode) > > mount -u / > passwd root > mount -a > exit > > i have two things about this: > > a)it doesn't work -- i get a "passwd not found" command -- anything I > can do except reinstall from scratch? (full system from FTP -- i'd > rather not :-) You should also mount /usr if it's a separate filesystem to have access to the passwd program. # mount -u / # mount /usr # passwd root Enter new password: Enter password again: # ^D > and > > b) if it DOES work -- itsn't it a serious security issue that anyone > with the access to the FAQ (which is every literate person in the > world!) can get root password? i know that it's probably not, but i > would just like to be explained WHY not, if possible. > This can only be done from the console (ie, AT THE COMPUTER.) > Thanks again! > -===================================================================- Jeremy Shaffner JORSM Internet Senior Technical Support Northwest Indiana's Premium jer@jorsm.com Internet Service Provider support@jorsm.com http://www.jorsm.com -===================================================================- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message