This is very easy to fix.Quote:>Hi, unfortunately I've gone and messed up the /etc/passwd file by joining
the
>first two lines into one.
>So now it looks something like:
>root:x:0:0:/bin/csh bin:x:1:1:/bin
>When I try to log in as root it tries to run the command "/bin/csh
>bin:x:1:1..." and fails to create a shell because that is a silly program
>name.
>Is there anyway around this? I can't find the original installation disks,
but
>could I use any Linux installation disk (eg redhat) to reboot the machine
into
>some sort of mode that would let me edit the passwd file to repair it?
Please check the Linux FAQ, question 6.11: "I have srewed up my system and
can't log in to fix it" or the several discussions about e.g. "I lost my
root password".
jue
--
Jrgen Exner; microsoft.com, UID: jurgenex
Sorry for this anti-spam inconvenience