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

Re: /etc/passwd

On 2006-07-20  1211, Varady Zoltan wrote:
> I deleted the first (root) line from the passwd file. I closed out myself.
> HOW can i restore it without root rights?

You're on the wrong mailing list -- try debian-user.

Try using grub or LILO to pass the kernel argument ``init=/bin/sh'' to
your kernel. When in this root prompt, run `mount -o remount,rw /`,
and run `passwd`, updating roots password.

Regards, skrewz.

Reply to: