llconvert(8)						      System Manager's Manual						      llconvert(8)

NAME
llconvert - Modify lastlog records from DIGITAL UNIX releases 4.0x and prior to new format SYNOPSIS
/usr/lbin/llconvert [-vnrp?h] input_file [output_file] OPTIONS
Restore new format to old format. Verbose. Display lines while converting. Do not preserve contents of input file. Formatted print only. Do not convert. (May be used with the -r option). Display usage message. DESCRIPTION
The llconvert command reads records from the lastlog file, such as /var/adm/lastlog, and converts the record format to the updated struct lastlog format. If no output file is specified or if the output file path is identical to the input file path, llconvert makes a backup copy of the original input file using the following algorithm: If filename.orig exists. Where n is a unique number. The llconvert command attempts to detect an input file that is in the wrong format (for example, input file is already a new format file). A warning message is issued in this case, but conversion continues. RETURN VALUES
Success. An error occurred. EXAMPLES
To convert an old format accounting file to the new format: llconvert /var/adm/lastlog.prev Upon completion of this command, /var/adm/lastlog.prev will have been converted to the new format. The original /var/adm/last- log.prev is renamed to: /var/adm/lastlog.prev.orig To convert a lastlog file in new format to the old format: llconvert -r /var/adm/lastlog /var/adm/last- log.old FILES
Lastlog header file that defines the format for the lastlog file. The active lastlog file. SEE ALSO
Commands: finger(1) llconvert(8)