Root password problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric Lee Green
Date:  
Subject: Root password problems
On Saturday 12 July 2003 10:14 pm, David Demland wrote:
> Eric,
>
> Thank you so much. I have been able to repair all the boxes, except the
> FreeBDS box with this information.
>
> mount -n -o remount,rw /
>
> The 'passwd' command should work after you do this.


For FreeBSD, it is

mount -u -o rw /

I found that command by looking for 'mount' in /etc/rc (the startup) on
FreeBSD. I found the Linux equivalent by looking at /etc/rc.d/rc.sysinit on
my Mandrake laptop (BadTux's Internet server runs on FreeBSD because I make
heavy use of FreeBSD's jail functionality, which Linux doesn't have at the
moment, other than the very resource-hogging User Mode Linux method). Knowing
what gets executed on system startup is one of the things that's very handy
with Unix (any Unix).

--
Eric Lee Green mailto:eric@badtux.org
Unix/Linux/Storage Software Engineer needs job --
see http://badtux.org for resume