Hi, > For that board I want to make an autologin, because the device which will be > connect to the board isn`t able to enter a password or a login. > > I write a shell script(mylogin): > #!/bin/sh > exec login -f root > > and I edit the etc/inittab from: > console :: respawn:/sbin/getty -L 115200 /dev/ttyNX0 vt100 > to > console::respawn:/sbin/getty -n -l /bin/mylogin -L 115200 /dev/ttyNX0 vt100 > You can start a shell from getty without need for any login at all: console::respawn:/sbin/getty -n -l /bin/sh -L 115200 /dev/ttyNX0 vt100
Lothar Wassmann -- ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Geschäftsführer: Matthias Kaussen, Rolf Rosenstein Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | [EMAIL PROTECTED] ___________________________________________________________
-- ptxdist mailing list [email protected]
