Dial-Up Message on Ultrix 1.2

Frederick M. Avolio avolio at decuac.DEC.COM
Fri Jul 11 01:18:37 AEST 1986


In article <109 at funvax.UUCP>, puglia at 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 at decuac.DEC.COM				* Fight the Fight *
UUCP: {decvax,seismo,cbosgd}!decuac!avolio	       * Rescue the Unborn *



More information about the Comp.unix.wizards mailing list