Knoppix is a pretty neat rescue CD, you can copy the /etc/passwd from the Knoppix environment to your partition where your /etc resides and insert the missing line. Samantha On Wed, 19 Mar 2003, Haijin Yan wrote: > Hi, > I have a stupid question here. When I setting up NIS on my Linux box, > I mistakenly commented out the root entry in the local passwd file. > so now I can not do anything whenever root priviledge is required because > there is no root in my linux. > Do you have any idea how to reinstall root from this case? > > Thanks, > > > -Haijin > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -Samantha -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/