site  contact  subhomenews

mingetty replaces autologin

April 28, 2011 — BarryK
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.

Comments

Source?
Username: MHHP
Looked for the sources in "http://www.bkhome.org/sources/alphabetical/m/" ... Got it from sourceforge instead.

Re mingetty source
Username: BarryK
"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.


Tags: woof