Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acct(1M)

acctcms(1M)

acctcom(1)

acctcon(1M)

acctmerg(1M)

acctprc(1M)

acctsh(1M)

runacct(1M)

acct(2)

acct(5)

utmp(5)

FWTMP(1M)  —  UNIX 3.0

NAME

fwtmp, wtmpfix − manipulate wtmp records

SYNOPSIS

fwtmp [−ic]
wtmpfix [files]

DESCRIPTION

Fwtmp

Fwtmp reads from the standard input and writes to the standard output, converting binary records of the type found in wtmp to formated ASCII records.  The ASCII version is useful to enable editing, via ed(1), bad records or general purpose maintenance of the file. 

The argument −ic is used to denote that input is in ASCII form, and output is to be written in binary form. 

Wtmpfix

Wtmpfix examines the standard input or named files in wtmp format, corrects the time/date stamps to make the entries consistent, and writes to the standard output.  A − can be used in place of files to indicate the standard input.  If time/date corrections are not made, acctcon1 will fault when it encounters certain date change records. 

Each time the date is set while operating in multi-user mode, a pair of date change records are written to /usr/adm/wtmp.  The first record is the old date denoted by │ in the name field.  The second record specifies the new date and is denoted by a { in the name field.  Wtmpfix uses these records to synchronize all time stamps in the file. 

FILES

/usr/adm/wtmp
/usr/include/utmp.h

SEE ALSO

acct(1M), acctcms(1M), acctcom(1), acctcon(1M), acctmerg(1M), acctprc(1M), acctsh(1M), runacct(1M), acct(2), acct(5), utmp(5). 

May 16, 1980

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