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

Re: /etc/passwd




Varady Zoltan a écrit :
I deleted the first (root) line from the passwd file. I closed out myself.
HOW can i restore it without root rights?




U can boot with a Linux Live CD (like Ubuntu or Knoppix) and change the passwd file on the hard drive disk. Be careful, I think the Live CD will mount hdd partitions with a "read only" option. In this case, remount the partition with "write" options.
Good luck !

Cheers,

   Ben.



Reply to: