From owner-freebsd-questions Wed Jul 24 10:26:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C0D537B400 for ; Wed, 24 Jul 2002 10:26:39 -0700 (PDT) Received: from labs.unixhideout.com (dsl-65-187-193-189.telocity.com [65.187.193.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B0E43E65 for ; Wed, 24 Jul 2002 10:26:38 -0700 (PDT) (envelope-from sagacious@unixhideout.com) Received: from MIKESBOX ([192.168.1.10]) by labs.unixhideout.com (8.12.5/8.12.3) with ESMTP id g6OHQdX2048771 for ; Wed, 24 Jul 2002 13:26:39 -0400 (EDT) (envelope-from sagacious@unixhideout.com) From: "sagacious" To: Subject: RE: Password problem Date: Wed, 24 Jul 2002 13:26:35 -0400 Message-ID: <000f01c23337$42e70750$0a01a8c0@MIKESBOX> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <000801c232ef$24aec040$d07d10ac@w112753> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >i've got a box and i was able to do a boot -s to recover the root passwd. >When i got to the prompt # i've : >-mount -u / >-mount -a > >and then when i type passwd nothing happens. >i've notice that /etc/passwd has a simbolic link to /var/etc/passwd and >also >/usr/bin/passwd >have a simbolic link to /var/etc/passwd. >I've copy accross a bin passwd file from another unix and put it on >the /var/etc/ , however it still doesn't work. >Any ideas how can i work around this. When I lose the root pass heres what I have to do. Boot -s Then I have to mount the file systems individually but I have to go into wherever the mount binary is and do: ./mount / ./mount /usr then finally ./passwd You wont be able to just type passwd cause it doesn't know where it is. FreeBSD is in dumb mode. I hope I understood your question right. I think I did. Hope it helped. sagacious (Mike) Network administrator The unixhideout network http://www.unixhideout.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message