[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/passwd



Varady Zoltan napisał(a):
> I deleted the first (root) line from the passwd file. I closed out myself.
> HOW can i restore it without root rights?
>   
Boot system from CD, mount filesystem with /etc, edit passwd file
appending line:
root:x:0:0:root:/root:/bin/bash

If you don't use shadow file you should change password,

Paul Jankowski



Reply to: