[BusyBox] getty and utmp update
Giulio Orsero
giulioo at pobox.com
Sat Dec 22 02:20:15 UTC 2001
I've a libc5 boot disk. init is some minimal sysv init found somewhere a
while ago.
I was using mingetty and wanted to switch to busybox getty.
getty would not start a login because:
tty2 no utmp entry ...
I suppose init didn't update /var/run/utmp?
so, in getty.c, I changed
error("%s: no utmp entry", line);
to
return
and now I get the login shell and all seems ok.
Could this cause some problem somewhere else?
I looked at the busybox init help, and it says
"... BusyBox init does nothing with utmp. We don't need no stinkin' utmp.",
so switching to busybox init would not solve this problem, right?
Thanks
--
giulioo at pobox.com
More information about the busybox
mailing list