[SUMMARY]ttys.db corruption

From: Larry Griffith <larry_at_garfield.wsc.mass.edu>
Date: Tue, 15 Oct 1996 18:39:08 -0400

Dear Managers,

        Sorry for the very delayed summary, but I didn't get a full
answer until today.

Original query
-------- -----

        Yesterday two of my DEC 3000/300XL's suddenly started
displaying the message "Terminal is Disabled - See System
Administrator". No one (not even root) could log in directly to the
console. Since telnet access was still possible, I tried various
things and finally discovered that moving /etc/auth/system/ttys.db to
ttys.db.bak worked. Apparently this file is the terminal database and
it has become corrupt.

        My problem is that the system does attempt to write to this
file under certain circumstances (for example, a user whose account
had become locked tried to log in this morning and the system
complained it couldn't log the information). How does one recreate it
(presumably from /etc/auth/system/ttys)?

Answer
------

        DEC Support finally came up with this one: use the command

        /usr/tcb/bin/edauth -g dt

to edit ttys.db. t_maxtries is the maximum number of consecutive
unsuccessful attempts to login before a terminal locks up, t_failure
is the number that have occurred so far.

        A response to a different post also provided an answer to my
last question. To recreate ttys.db, use

        /usr/tcb/bin/convauth -g dt

(I discovered a problem with my ttys setup for X doing this; v4.0 is
apparently a bit more finicky that v3.2X was. "man ttys" fortunately
explained the new setup pretty well.)


                                                Larry

============================================================================
Larry Griffith Dept. of Computer & Info Science
larry_at_garfield.wsc.mass.edu Westfield State College
(413) 572-5294 Westfield, MA 01086 USA
PGP public key available at: http://garfield.wsc.mass.edu/dcis/griffith.html
============================================================================
Received on Wed Oct 16 1996 - 01:06:10 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT