fwtmp(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

fwtmp(8)

fwtmp(8)                System Administration Commands                fwtmp(8)

NAME
       fwtmp, wtmpfix - manipulate connect accounting records

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


       /usr/lib/acct/wtmpfix [file]...

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


       wtmpfix examines the standard input or named  files  in  utmpx  format,
       corrects  the  time/date  stamps  to  make  the entries consistent, and
       writes to the standard output. A hyphen (−) can be  used  in  place  of
       file  to  indicate the standard input. If time/date corrections are not
       performed, acctcon(8) will fault when it encounters certain date-change
       records.


       Each time the date is set, a pair of date change records are written to
       /var/adm/wtmpx. 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 utmpx 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 will check the va‐
       lidity of the name field to ensure that it consists solely of  alphanu‐
       meric  characters or spaces. If it encounters a name that is considered
       invalid, it will change the login name to INVALID and write a  diagnos‐
       tic to the standard error. In this way, wtmpfix reduces the chance that
       acctcon will fail when processing connect accounting records.

OPTIONS
       -ic    Denotes that input is in ASCII form, and output is to be written
              in binary form.


FILES
       /var/adm/wtmpx    history of user access and administration information


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/accounting/legacy-accounting


SEE ALSO
       acctcom(1), ed(1),  acct(2),  acct.h(3HEAD),  utmpx(5),  attributes(7),
       acct(8),  acctcms(8),  acctcon(8),  acctmerg(8), acctprc(8), acctsh(8),
       runacct(8)

Oracle Solaris 11.4               25 May 2012                         fwtmp(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3