Root password problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David Demland
Date:  
Subject: Root password problems
Eric,

Thank you so much. I have been able to repair all the boxes, except the
FreeBDS box with this information.

David

-----Original Message-----
From:
[mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Eric
Lee Green
Sent: Saturday, July 12, 2003 2:24 PM
To:
Subject: Re: Root password problems


On Saturday 12 July 2003 12:57 pm, David Demland wrote:
> command to regenerate the shadow file. I can not do this on these machines
> because they have mounted the root file system as read-only and will not
> allow me to update the shadow file. What do I have to do to fix this
> problem so I can run the passwd command on these machines?


You need to remount the root file system read-write. To do that:

mount -n -o remount,rw /

The 'passwd' command should work after you do this.

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

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss