Create the /etc/passwd file by running the following command:
echo "root:x:0:0:root:/root:/bin/bash" > /etc/passwd |
The actual password for root (the "x" here is just a placeholder) will be set later.
Create the /etc/group file by running the following command:
cat > /etc/group << "EOF" root:x:0: bin:x:1: sys:x:2: kmem:x:3: tty:x:4: tape:x:5: daemon:x:6: floppy:x:7: disk:x:8: lp:x:9: dialout:x:10: audio:x:11: EOF |