Rollover Logfile; Export Sshctl - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

ROLLOVER LOGFILE

This command can be used to force a rollover of the configured log file. The current log file will be renamed to an
archive file and a new log file is opened if the LOGFILE parameter is not set to * and the LOGFILERETENTION
parameter is set to a non-zero value. The command has the following syntax:
ROLLOVER LOGFILE
The ROLLOVER command can only be executed by super.super (unless explicitly denied in OBJECTTYPE USER
record) or a user granted full SSHCOM access.

EXPORT SSHCTL

The EXPORT SSHCTL command will export the content of the SSH User Database into as many as six text files. All
attributes of the various objects are written in the CSV (comma-separated value) format.
The command has the following syntax:
EXPORT SSHCTL, SUBVOL <subvolume> [, WIDTH <width>]
The individual attributes have the following meaning and syntax:
SUBVOL <subvolume>
The files are stored in a subvolume specified by the SUBVOL attribute.
Starting with SPR T0801^ABE, an OSS directory may be specified. If a Guardian subvolume is specified, then
Guardian edit files are created and long lines will be wrapped. Files exported to a directory will not be wrapped
unless option WIDTH is specified. Specifying OSS paths referring to a Guardian namespace like
/G/system/ssh2exp leads to code 180 files and no wrapping occurs (if WIDTH is not specified). The volume
must be a physical disk in this case.
WIDTH <width>
Defines the maximum number of characters per output line. If WIDTH is specified the end of a wrapped line is
marked by "\" as the last character on the line.
Only users with SUPER.SUPER privileges (unless explicitly denied in OBJECTTYPE USER record) or those
configured with full SSHCOM access are allowed to perform the EXPORT SSHCTL function. The following export
files are generated:
File
USER
USERPUBK
PRIVKEY
KNWNHOST
RESTRICT
%export sshctl, subvol $data1.sshexp
OK, all SSHCTL exported to files on $data1.sshexp
%
144 • SSHCOM Command Reference
Description
USER object data
All public keys of all users
KEY object data
KNOWNHOST object data
RESTRICTION-PROFILE object data
HP NonStop SSH Reference Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents