Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 13:26:35 -0400
From:      "sagacious" <sagacious@unixhideout.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Password problem
Message-ID:  <000f01c23337$42e70750$0a01a8c0@MIKESBOX>
In-Reply-To: <000801c232ef$24aec040$d07d10ac@w112753>

next in thread | previous in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c23337$42e70750$0a01a8c0>