From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715812074.tru64-unix-managers.marc@archive.invalid> From: Hernan Dario Russy Date: Fri, 31 Jul 1998 11:09:35 +0000 To: tru64-unix-managers Subject: SUMMARY: Console is disabled X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715812074 First of all, thanks go to (Gracias Nestor!) Nestor Ruiz George Gallen "Kristin (Kris) Larsen" their answers were very fast and helpful. ORIGINAL QUESTION: We are running DU 4.0b in a Dec workstation 3000 with enhanced security. Today we are not able to log in using the console because it says that "Terminal is disabled -- see account administrator". The username and password are well typed and validated. We also have checked and modified the ttys database with no success. Any ideas? ANSWER THAT SOLVED THE PROBLEM (Nestor Ruiz ) Well, I know DU4.0x uses a binary database to handle users, ttys, files... We got similar problem with our DU3.2g, so I made an script who "build" a new and clean database (/etc/auth/system/ttys), and every time we got a "Terminal is disabled" we made a copy of the "clean" database over the dirty one, so we got zero failures. Here is the script : --- outfile="ttys.blank" echo "console:t_devname=console:chkent:" >$outfile echo "local\:0|local\:0.0:t_devname=local\:0:t_xdisplay:t_login_timeout#0:chkent:" >>$outfile echo "\:0|\:0.0:t_devname=\:0:t_xdisplay:t_login_timeout#0:chkent:">>$outfile echo "\:1|\:1.0:t_devname=\:1:t_xdisplay:t_login_timeout#0:chkent:">>$outfile echo "\:0.1:t_devname=\:0.1:t_xdisplay:t_login_timeout#0:chkent:">>$outfile for tty in /dev/tty* do ntty=`echo "${tty}" | cut -f 3 -d \/` echo "${ntty}:t_devname=${ntty}:chkent" >>$outfile done --- I guess you need to make some like this, to build a clean database, and after that, use "convauth -d t" to convert it in to the binary one... (but first you need to copy ttys.blank to ttys) Well, I suppose this should work, I have no tested, but I hope this helps. PS: You have to bring the machine to single user mode before doing this, otherwise login processes make impossible correcting the ttys.db database. ___________________________________ Hernan Dario Russy Pena hrussy@mox.uniandes.edu.co Universidad de Los Andes Bogota, COLOMBIA. Sur America Tel: (+57-1) 2869211 Ext. 2814, 2918