Addition to us.c source posted earlier

espo at bpa.UUCP espo at bpa.UUCP
Fri Jun 17 05:43:57 AEST 1983


	Here's an addition to the us.c source posted earlier.  This will
	also catch/report on those logged in on the system console.  Add
	the following lines after line 36 of the original source.


*************************


		if(strcmp(utp.ut_line, "console") == 0) {
			strcat(ttylog, utp.ut_line);
			strcat(ttylog, ",");
			continue;	/* catch console login */
		}


	Bob Esposito...sb6!bpa!espo



More information about the Comp.sources.unix mailing list