[Angstrom-distro-users] Kexecboot kernels for testing available

Koen Kooi k.kooi at student.utwente.nl
Thu Feb 5 00:36:50 CET 2009


On 04-02-09 23:43, Bernd Schemmer wrote:

> sed "s#^root.*#root:XI1LBh.lqnQeg:0:0:root:/home/root:/bin/sh#g"
> /etc/passwd >/tmp/passwd.$$
> cp /tmp/passwd.$$ /etc/passwd
> rm /tmp/passwd.$$

You can replace that with:

sed -i "s#^root.*#root:XI1LBh.lqnQeg:0:0:root:/home/root:/bin/sh#g" \
/etc/passwd

regards,

Koen




More information about the Angstrom-distro-users mailing list