Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fwtmp(1M) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acctcom(1M)

acct(1M)

acctcms(1M)

acctcon(1M)

acctmerg(1M)

acctprc(1M)

acctsh(1M)

runacct(1M)

ed(1)

acct(2)

acct(4)

utmp(4)




fwtmp(1M) fwtmp(1M)
NAME fwtmp, wtmpfix - manipulate connect accounting records SYNOPSIS fwtmp [-ic] wtmpfix [file]... ARGUMENTS file Specifies the file to be manipulated. Using a - in place of file indicates the standard input. -ic Indicates that input is in ASCII form and output is to be written in binary form. DESCRIPTION fwtmp reads from the standard input and writes to the standard output, converting binary records of the type found in wtmp to formatted ASCII records. The ASCII version is useful for editing bad records with ed(1), or general file maintenance. The wtmpfix examines the standard input or named files in wtmp format, makes the time/date stamps on the entries consistent, and writes to the standard output. If you don't correct the time/date stamp, acctcon1 will fault when it encounters certain date-change records. Each time the date is set, a pair of date change records is written to /etc/wtmp. The first record is the old date marked with old time in the line field and the flag OLD_TIME in the type field of the utmp.h structure. The second record specifies the new date and is marked with new time in the line field and the flag NEW_TIME in the type field. wtmpfix uses these records to synchronize all time stamps in the file. In addition to correcting time/date stamps, wtmpfix ensures that the name field consists solely of alphanumeric characters or spaces. If it encounters an invalid name, it changes the login name to INVALID and writes a diagnostic to the standard error. In this way, wtmpfix reduces the chance that acctcon1 will fail when processing connect accounting records. FILES /usr/lib/acct/fwtmp Executable file /usr/lib/acct/wtmpfix Executable file /etc/wtmp January 1992 1



fwtmp(1M) fwtmp(1M)
Temporary file /usr/include/utmp.h Temporary file SEE ALSO acctcom(1M), acct(1M), acctcms(1M), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), runacct(1M) ed(1) in A/UX Command Reference acct(2), acct(4), utmp(4) in A/UX Programmer's Reference 2 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026