DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦6bdee7514⟧ TextFile

    Length: 588 (0x24c)
    Types: TextFile
    Notes: UNIX file
    Names: »uudemon.admin«

Derivation

└─⟦07a570ed8⟧ Bits:30004042/network2.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦07a570ed8⟧ UNIX Filesystem
    └─⟦this⟧ »bn/new/usr/lib/uucp/uudemon.admin« 

TextFile

#!/bin/sh
#ident	"@(#)uucp:uudemon.admin	2.2"
#
#	This shell sends uucp status information to an administrator.
#	It should started by a line in /usr/lib/crontab.
#	e.g.
#
# 48 8,12,16 * * * /bin/su uucp -c "/usr/lib/uucp/uudemon.admin" > /dev/null
#
set +e

export PATH
PATH=/bin:/usr/bin
MAILTO=uucp
LOGDIR=/usr/spool/uucp/.Log
ULOG=$LOGDIR/uucico
TMP=/tmp/uu$$

(uustat -p; uustat -q) > $TMP
if [ -s $TMP ]
then
	(echo "Subject: uu-status"; cat $TMP) | mail $MAILTO
fi
grep passwd $ULOG/* > $TMP
if [ -s $TMP ]
then
	(echo "Subject: passwd check"; cat $TMP) | mail $MAILTO
fi
rm $TMP