/etc/utmp (login, getty)

John F Haugh II jfh at rpp386.cactus.org
Fri May 10 22:55:15 AEST 1991


In article <1991May10.065817.12017 at swsrv1.cirr.com> toma at swsrv1.cirr.com (Tom Armistead) writes:
>So, in a long winded way, I think your right in that /bin/login is the one who
>sets the final tty name in the utmp file and that is probally where your
>problem is.

Nope.  /etc/getty is responsible for getting the tty name correct the
first time.  getty knows which device it opened, login doesn't.
-- 
John F. Haugh II        | Distribution to  | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 255-8251 | GEnie PROHIBITED :-) |  Domain: jfh at rpp386.cactus.org
"If liberals interpreted the 2nd Amendment the same way they interpret the
 rest of the Constitution, gun ownership would be mandatory."



More information about the Comp.unix.wizards mailing list