Alter User - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

echo Entering $0
echo Parameters=\>$*\<
echo ----------------------------------------
echo \$SSH_ORIGINAL_COMMAND:
echo $SSH_ORIGINAL_COMMAND
echo ----------------------------------------
echo Leaving $0
Now the actual test is executed by starting an ssh client:
C:\WINDOWS>ssh -oPort=15022 xyz@10.0.0.194 test-script
xyz@10.0.0.194's password: ...
Entering test-script
Parameters=>/home/xyz/repo1/<
----------------------------------------
$SSH_ORIGINAL_COMMAND:
test-script
/home/xyz/repo1/
----------------------------------------
Leaving test-script
SYSTEM-USER
This attribute defines the Guardian user name to which the <user-name> is mapped.
If this attribute is omitted, it is assumed that <user-name> is a valid user on the system.
If *NONE* is specified, the user is not mapped to a system user, causing all channel requests that require a valid system
user (e.g. exec, subsystem SFTP) to be rejected. SYSTEM-USER *NONE* is useful to grant anonymous access to
services which perform their own authentication (e.g. Pathway applications). When SYSTEM-USER *NONE* is used
and CI-PROGRAM or SHELL-PROGRAM are *MENU* and TACL or OSH can be selected from the STN menu, then
a logon for TACL or OSS is required.
It is possible to specify the logon id (e.g. 11,23) in double quotes. The logon id will be converted to <group>.<user>
before the value for SYSTEM-USER is set.

ALTER USER

The ALTER USER command changes one or more attributes of an existing user and has the following syntax:
ALTER USER <user-name>
[,ALLOW-CI yes|no ]
[,ALLOW-SHELL yes|no ]
[,ALLOW-PTY yes|no ]
[,ALLOW-TCP-FORWARDING yes|no ]
[,ALLOWED-AUTHENTICATIONS ( <method>, <method>, ... ) ]
[,ALLOWED-SUBSYSTEMS ( <subsystem>, <subsystem>, ... ) ]
[,ALLOW-GATEWAY-PORTS yes|no ]
[,ALLOW-MULTIPLE-REMOTE-HOSTS yes|no ]
[,CI-COMMAND [ <command> ] ]
[,CI-PROGRAM [ <filename> | *MENU* | *MENU* <service> [ FORCE] ] ]
[,COMMENT <comment> | "<comment containing spaces>" ]
[,CPU-SET [<cpu> | <cpu-range> | ( <cpu-range-list> ) ] ]
[,DELETE PRINCIPAL { <user>@<REALM> | *@<REALM> | *@* | * } ] ...
[,DELETE PUBLICKEY { <key-name> | * }] ...
[,PRINCIPAL { <user>@<REALM> | *@<REALM> | *@* } ] ...
[,PRIORITY -1 | <priority> ]
[,PUBLICKEY <key-name> FINGERPRINT <fingerprint-value> |
HP NonStop SSH Reference Manual
FILE <filename> |
COMMENT "<comment>"] |
LIVE-DATE <date-time>] |
EXPIRE-DATE <date-time>] |
( [
FINGERPRINT <fingerprint-value>]
[, FILE <filename>]
[, COMMENT "<comment>"]
[, LIVE-DATE <date-time>]
[, EXPIRE-DATE <date-time>] )
]...
'/home/xyz/repo1/'
SSHCOM Command Reference • 153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents