From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321584.tru64-unix-managers.marc@archive.invalid> From: Larry Griffith Date: Tue, 15 Oct 1996 22:39:08 +0000 To: tru64-unix-managers Subject: [SUMMARY]ttys.db corruption X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321584 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@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 ============================================================================