June 2017
Intermediate to advanced
478 pages
13h 14m
English
Firstly, you have to add to your staging directory the files etc/passwd, etc/shadow, and etc/group, as shown in the preceding section. Make sure that the permissions of shadow are 0600. Next, you need to initiate the login procedure by starting a program called getty. There is a version of getty in BusyBox. You launch it from inittab using the keyword respawn, which restarts getty when a login shell is terminated, so inittab should read like this:
::sysinit:/etc/init.d/rcS::respawn:/sbin/getty 115200 console
Then, rebuild the ramdisk and try it out using QEMU or the BeagleBone Black as before.
Read now
Unlock full access