162 • SSHCOM Command Reference HP NonStop SSH Reference Manual
Note: any attributes not listed above are explained in the “ADD USER” section.
RENAME USER
The RENAME USER command renames a user and has the following syntax:
RENAME USER <old-user-name>, <new-user-name>
Both <old-user-name> and <new-user-name> are mandatory in the command; no wild cards are allowed in either one.
Please see description of <user-name> under the ADD USER command for unconventional names that must be put in
double quotes.
THAW USER
The THAW USER command thaws a user and has the following syntax:
THAW USER <user-name>
The <user-name> is mandatory in the command, no wild cards are allowed in the user name. A thawed user can log on
from a remote system and execute commands. Please see description of <user-name> under the ADD USER command
for unconventional names that must be put in double quotes.
Daemon Mode Commands Operating on the
RESTRICTION-PROFILE Entity
ADD RESTRICTION-PROFILE
The ADD RESTRICTION-PROFILE command adds a new restriction profile to the database and has the following
syntax:
ADD RESTRICTON-PROFILE <profile-name>
[,LIKE <existing-restriction-profile-name>]
[,COMMENT <comment> | "<comment containing spaces>" ]
[,CONNECT-FROM <host-pattern> | ( <host-pattern>, <host-pattern, ... ) ]
[,CONNECT-TO <host-ports> | ( <host-ports>, <host-ports>, ... ) ]
[,PERMIT-LISTEN <host-ports> | ( <host-ports>, <host-ports>, ... ) ]
[,PERMIT-OPEN <host-ports> | ( <host-ports>, <host-ports>, ... ) ]
[,FORWARD-FROM <host-pattern> | ( <host-pattern>, <host-pattern, ... ) ]
Only the <profile-name> is mandatory in the command, all other fields are optional. The individual attributes have the
following meaning and syntax:
<profile-name>
The name of the restriction profile to be added.
<comment>
A comment describing the restriction profile. If the comment contains spaces, it must be enclosed in double quotes.
<host-pattern>
One or more patterns used to match addresses or names of hosts. Wildcard characters '*' (any number of characters) and
'?' (one character) are allowed. The '~' is supported for expressing negation.
<host-ports>