Terminal Database login problem ( again )

Geoff Scully gws at xenitec.on.ca
Fri Jul 20 00:28:04 AEST 1990


In article <103961 at convex.convex.com> kemp at convex1.convex.com (Phil Kemp) writes:
>
>I caught the end of a thread last week about SCO UNIX failing to allow
>logins due to corruption of the terminal database. This bug has bite
>me twice now and I would like to know if anyone has further info on the
>details of this corruption. The first time I tried to reboot I couldn't
>get the system back up. I had to re-install from scratch. ( Well the
>base system, anyway... ). The problem has re-occurred and I am not able
>to check it out immediately. Please post as I'm not sure how well my
>mail is going to work this week :-( ....
>

The problem is with the files /etc/auth/system/ttys*.

There should be only on file in /etc/auth/system named ttys. When
multiple login-logouts occur too rapidly a working file named either
ttys-t or ttys-s will also reside in /etc/auth/system. You don't mention
what version of SCO UNIX you are running, so some of the following may
not apply. 

If you are running 3.2.1 or later, or if you have the 3.2.0 upgrade
(unx146?? my memory fails me) for this problem, you should have a line in
/etc/default/login that says

OVERRIDE=tty01

or something like it. If this is the case you should be able to log in on
tty01 and correct the problem by examining the files in /etc/auth/system.
One of ttys, ttys-t or ttys-s will be a current version of your tty
database, the others will either be incomplete or empty. Make sure the
complete one ends up in /etc/auth/system/ttys and remove all others. You
should now be able to log in on any tty.

If the OVERRIDE feature is not available to you, first you should call
SCO support and get them to send the appropriate "unx???" disk to you.
You will likely have to shutdown hard if you are not logged in somewhere
as root when it happens. Bring the system back up from your boot+root
floppies and mount the hdroot filesystem on the floppy. Follow the same
procedure as above to remove the extra ttys files from /etc/auth/system.

Hope this helps...

			--g
----
Geoff Scully                    Support Services -- XeniTec Consulting Services
Internet: gws at xenitec.on.ca		   UUCP: ..!{uunet!}watmath!xenitec!gws



More information about the Comp.unix.i386 mailing list