[BusyBox] can't add root user: passwd: unknown uid 0

Rob Landley rob at landley.net
Sat Jul 30 00:26:31 UTC 2005


On Friday 29 July 2005 10:24, michael at michaelshiloh.com wrote:
> Thanks Chris and others who responded. I understand now that perhaps my
> approach was wrong. The real issue I was having was that even before I
> messed with these files the user "root" was not found. The steps I took
> were to try to remedy that.

echo root:x:0:0:root:/root:/bin/sh > /etc/passwd
chmod 755 /etc/passwd

Root has always been a special case...

Rob



More information about the busybox mailing list