puglia@funvax.UUCP (Paul Puglia) (07/09/86)
On past versions of Ultrix the system printed a message to the console when someone logged on to a port marked "dialup" in the /etc/ttytype. The message was very similar to the SU message which does appear on the console. On version 1.2 I have been unable to get the system to print the message. I have played with syslog.config, but this gives me more information then I want. Does anyone know how to turn this message logging on? Or is the still possible to do it in 1.2 ? I've looked through the system managers manual and have found no reference to it. I would really like the service back especially since we now have our Vaxen connected to the outside world. Any info would be greatly appreciated. Paul J. Puglia Fairfield University Department of Math and Computer Science
avolio@decuac.DEC.COM (Frederick M. Avolio) (07/10/86)
In article <109@funvax.UUCP>, puglia@funvax.UUCP (Paul Puglia) writes: > On past versions of Ultrix the system printed a message to the console > when someone logged on to a port marked "dialup" in the /etc/ttytype. > The message was very similar to the SU message which does appear on the > console. On version 1.2 I have been unable to get the system to print the As an "improvement," the login program uses syslog (see syslog(3)) to log this info. FIrst, here is an example of our /etc/syslog.conf: 5/dev/console 8/usr/spool/mqueue/syslog 7/usr/adm/syslog root avolio --------------- Now, here are some entried from /usr/spool/mqueue/syslog: Jul 10 00:03:47 localhost: login: DIALUP ttyd0 Ugrebyn Jul 10 00:17:59 localhost: login: DIALUP ttyd2 Ugouldsd Jul 10 00:38:35 localhost: login: DIALUP ttyd2 Udolqci Jul 10 00:40:00 localhost: login: DIALUP ttyd0 Useismo Jul 10 01:34:19 localhost: login: DIALUP ttyd2 Useismo Jul 10 01:56:47 localhost: login: DIALUP ttyd2 Uisavax Jul 10 02:09:08 localhost: login: DIALUP ttyd1 Ucvl So, as you can see the information is not lost. Now, if you want this stuff to come out on the console, you can change the number in syslog.conf from 5 to 8.... but LOTS of stuff will come out on the console then (it'll look like a VMS system console! :-)). Both sendmail and login log things as LOGINFO. -- Fred @ DEC Ultrix Applications Center INET: avolio@decuac.DEC.COM * Fight the Fight * UUCP: {decvax,seismo,cbosgd}!decuac!avolio * Rescue the Unborn *