NetBatch Manual
Commands
NetBatch Manual—522460-004
6-74
CHANGEUSER Command
CHANGEUSER Command
Use the CHANGEUSER command to log on as a different user during a BATCHCOM
session. The logon takes place on the system where the BATCHCOM process is
running.
user-ID
is a user ID in either of these forms:
group-name.user-name
group-name
is the name of the group to which the user belongs.
user-name
is the name of the user assigned to the group.
An example of a user ID in group-name.user-name form is NB.USER.
group-ID,user-ID
group-ID
is a number between 1 and 255 identifying the group to which the user
belongs.
user-ID
is a number between 1 and 255 identifying the user assigned to the group.
An example of a user ID in group-ID,user-ID form is 205, 70.
password
is the password of the user specified by user-ID.
Considerations
•
The CHANGEUSER command is available to all users.
•
BATCHCOM treats all text following user-ID as password. CHANGEUSER must
therefore be the last command you enter in a command line.
•
The logged-on user when a BATCHCOM session starts and after the session ends
is the user who started the session.
•
The CHANGEUSER command does not change the node, volume, subvolume,
and file security defaults that are current when you execute the command.
CH[ANGEUSER] user-ID [ password ]