mingetty replaces autologin

Right from the very start of the Puppy project, I have used a little executable 'autologinroot', which I put into a source tarball named 'autologin', kept in my source archive. This is specified in /etc/inittab to cause automatic login.

I am working on an idea that requires something a bit more flexible, so I have replaced 'autologinroot' with 'mingetty'. In Woof, /etc/inittab now is:

::sysinit:/etc/rc.d/rc.sysinit
tty1::respawn:/sbin/mingetty --autologin root tty1
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
::ctrlaltdel:/sbin/reboot


In Woof, a package selection file DISTRO_PKGS_SPECS-* needs this entry:

yes|mingetty||exe,dev,doc,nls

I have compiled 'mingetty' statically with dietlibc and here is the PET (20KB):
http://distro.ibiblio.org/quirky/pet_packages-quirky/mingetty-1.08.pet

And the docs:
http://distro.ibiblio.org/quirky/pet_packages-quirky/mingetty_DOC-1.08.pet

This is where I got the source from:
http://sourceforge.net/projects/mingetty/

...which will of course be hosted in my own source repo.


Posted on 28 Apr 2011, 9:20


Comments:

Posted on 23 Jan 2012, 7:41 by MHHP
Source?
Looked for the sources in "http://www.bkhome.org/sources/alphabetical/m/" ...
Got it from sourceforge instead.


Posted on 23 Jan 2012, 14:38 by scsijon
sources check
But always, for your own sake, check against barry's source tree, as he may have modified it to have it compile against / with puppy!


Posted on 24 Jan 2012, 7:52 by BarryK
Re mingetty source
An oversight, thanks for letting me know. I have uploaded the source:

http://bkhome.org/sources/alphabetical/m/

...of course, it is our usual username/password.



Posted on 24 Jan 2012, 8:19 by MHHP
Thanks