Re: How to delete the authentication process with BLFS version 11.0 System V.
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
\"GlanzFreya\"" ([email protected] via blfs-support Mailing List) wrote: > Hi all, > It's been a while and I am still using BLFS version 11.0 System V. > I want to ask whether it is possible to delete the authentication process / no > need to login as either user or root, > so when booting you will go straight to the virtual terminal as the root. > Which file should I change to do so? > Thanks > The way I do it is by adding --noclear -a lfs to the first agetty line in inittab. (If you want the root user just replace lfs with root.) Example below # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2 l3:3:wait:/etc/rc.d/init.d/rc 3 l4:4:wait:/etc/rc.d/init.d/rc 4 l5:5:wait:/etc/rc.d/init.d/rc 5 l6:6:wait:/etc/rc.d/init.d/rc 6 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now su:S016:once:/sbin/sulogin 1:2345:respawn:/sbin/agetty --noclear -a lfs tty1 9600 2:2345:respawn:/sbin/agetty tty2 9600 3:2345:respawn:/sbin/agetty tty3 9600 4:2345:respawn:/sbin/agetty tty4 9600 5:2345:respawn:/sbin/agetty tty5 9600 6:2345:respawn:/sbin/agetty tty6 9600 # End /etc/inittab -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page