llamy
23rd November 2007, 01:35
Hi,
I have by mistake messed up with my /etc/passwd in Ubuntu Feisty so the First line of /etc/passwd is :
oot:x:0:0:root:/root:/bin/bash
istead of
root:x:0:0:root:/root:/bin/bash
Fortunately i can loin with another user but cannot run sudo or su.
i get this error message :
No passwd Entry for Root
I have tried to Enter recovery mode but cannot get access to the shell prompt.
I have tried to boot with the Live CD as i read on some forums but i do not know how to mount the root partition in what.
can you Please help!
Thanks.
I have by mistake messed up with my /etc/passwd in Ubuntu Feisty so the First line of /etc/passwd is :
oot:x:0:0:root:/root:/bin/bash
istead of
root:x:0:0:root:/root:/bin/bash
Fortunately i can loin with another user but cannot run sudo or su.
i get this error message :
No passwd Entry for Root
I have tried to Enter recovery mode but cannot get access to the shell prompt.
I have tried to boot with the Live CD as i read on some forums but i do not know how to mount the root partition in what.
can you Please help!
Thanks.