Thanks all and sundry who responded so quickly. My commands; echo > /var/adm/wtmpx ; echo > /var/adm/utmpx Introduced a new line into the file. I had forgotten that. Some methods that work are: 1.e # cat /dev/null > /var/adm/wtmpx # cat /dev/null > /var/adm/utmpx 2. # > /etc/utmpx # > /etc/wtmpx 3. # cat /dev/null > utmpx # cat /dev/null > wtmpx Or a more elbaorate method from David Foster such as; 4. #!/bin/csh -f foreach f ( utmpx wtmpx ) echo "fixing $f ..." /usr/lib/acct/wtmpfix /var/adm/$f > /tmp/$f cp /var/adm/$f /var/adm/${f}.o mv -f /tmp/$f /var/adm/$f end exit 0 thanks goes out to Jon Godfrey, David Foster, Julian John, David Harrington and Musa Williams. Regards, Si. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.691 / Virus Database: 452 - Release Date: 26/05/2004 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu May 27 14:05:31 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:31 EST