TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-41
#CHANGEUSER Built-In Function
#CHANGEUSER Built-In Function
Use #CHANGEUSER to log on under a different user ID, keeping the current user’s
values.
CHANGEDEFAULTS
causes TACL to set its default node, volume, subvolume, and file security to that of
the new user instead of retaining the current user’s values.
group-name. user-name or group-id, user-id
is the group name and user name, or the group number and user number, of the
user who is logging on. The user identity must already have been established. If
you do not have a user account, see your system administrator.
If the TACL configuration NAMELOGON option is not set to 0, or if Safeguard is
running and the Safeguard NAMELOGON flag is not set to 0 (for the
USER_AUTHENTICATE_call), the group number and user number is not
accepted.
alias
is an alternate assigned name. Each alias must be unique within the local system.
An alias is a case-sensitive text string that can be up to 32 alphanumeric
characters in length. In addition to alphabetic and numeric characters, the
characters period (.), hyphen (-), and underscore(_) are permitted within the text
string. The first character of an alias must be alphabetic or numeric. For more
information on aliases, see the Safeguard Reference Manual.
password
is the password associated with the user.
Result
#CHANGEUSER returns -1 if it is successful; if not, it returns 0.
Considerations
•
If the USER_AUTHENTICATE_procedure exists in the system library, TACL calls
the USER_AUTHENTICATE_ procedure. USER_AUTHENTICATE_ uses the
Note. The LOGON command behavior depends on the Safeguard environment. If Safeguard
is not running on your system or if the USER_AUTHENTICATE procedure is not in the system
library, the alias option is not available
#CHANGEUSER [ / CHANGEDEFAULTS / ]
group-name.user-name | group-id‚user-id | alias} password