--- 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_at_mox.uniandes.edu.co Universidad de Los Andes Bogota, COLOMBIA. Sur America Tel: (+57-1) 2869211 Ext. 2814, 2918Received on Fri Jul 31 1998 - 21:09:20 NZST
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT