wtmpfix man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



fwtmp(1M)							     fwtmp(1M)

NAME
     fwtmp, wtmpfix - manipulate connect accounting records

SYNOPSIS
     /usr/lib/acct/fwtmp [-ic]
     /usr/lib/acct/wtmpfix [files]

DESCRIPTION
     fwtmp reads from the standard input and writes to the standard output,
     converting binary records of the type found in /var/adm/wtmp to formatted
     ASCII records.  The ASCII version is useful when it is necessary to edit
     bad records.

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

     wtmpfix examines the standard input or named files in utmp.h 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 performed, acctcon
     faults when it encounters certain date-change records.

     Each time the date is set, a pair of date change records are written to
     /var/adm/wtmp.  The first record is the old date denoted by the string
     old time placed in the line field and the flag OLD_TIME placed in the
     type field of the utmp structure.	The second record specifies the new
     date and is denoted by the string new time placed in the line field and
     the flag NEW_TIME placed in the type field.  wtmpfix uses these records
     to synchronize all time stamps in the file.

     In addition to correcting time/date stamps, wtmpfix checks the validity
     of the name field to ensure that it consists solely of alphanumeric
     characters or spaces.  If it encounters a name that is considered
     invalid, it changes the login name to INVALID and writes a diagnostic to
     the standard error.  In this way, wtmpfix reduces the chance that acctcon
     will fail when processing connect accounting records.

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

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

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net