Root password problems

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Eric Lee Green
Data:  
Temat: 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