Previous | Contents | Index |
The buffer length field in the item descriptor should specify 3 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because the buffered I/O byte limit is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because the CLI table name can include up to 31 characters in addition to a size-byte prefix, the buffer length field of the item descriptor should specify 32 (bytes).
Because the maximum CPU time limit is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because a file name can include up to 31 characters in addition to a size-byte prefix, the buffer length field in the item descriptor should specify 32 (bytes).
Because the device name string can include up to 31 characters in addition to a size-byte prefix, the buffer length field in the item descriptor should specify 32 (bytes).
Because the directory name string can include up to 63 characters in addition to a size-byte prefix, the buffer length field in the item descriptor should specify 64 (bytes).
Because the default privileges are returned as a quadword value, the buffer length field in the item descriptor should specify 8 (bytes).
Because the default working set size is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because the encryption algorithm is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
Symbolic Name | Description |
---|---|
UAI$C_AD_II | Uses a CRC algorithm and returns a longword hash value. It was used in VAX VMS releases prior to Version 2.0. |
UAI$C_PURDY | Uses a Purdy algorithm over salted input. It expects a blank-padded user name and returns a quadword hash value. This algorithm was used during VAX VMS Version 2.0 field test. |
UAI$C_PURDY_V | Uses the Purdy algorithm over salted input. It expects a variable-length user name and returns a quadword hash value. This algorithm was used in VMS releases prior to Version 5.4. |
UAI$C_PURDY_S | Uses the Purdy algorithm over salted input. It expects a variable-length user name and returns a quadword hash value. This is the current algorithm that the operating system uses for all new password changes. |
Because the encryption algorithm is a byte in length, the buffer length field in the item descriptor should specify 1 byte.
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because the absolute time value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Each flag is represented by a bit. The $UAIDEF macro defines the following symbolic names for these flags:
Symbolic Name | Description |
---|---|
UAI$V_AUDIT | All actions are audited. |
UAI$V_AUTOLOGIN | User can only log in to terminals defined by the Automatic Login facility (ALF). |
UAI$V_CAPTIVE | User is restricted to captive account. |
UAI$V_DEFCLI | User is restricted to default command interpreter. |
UAI$V_DISACNT | User account is disabled. Same as /FLAG = DISUSER qualifier in AUTHORIZE. |
UAI$V_DISCTLY | User cannot use Ctrl/Y. |
UAI$V_DISFORCE_PWD_CHANGE | User will not be forced to change expired passwords at login. |
UAI$V_DISIMAGE | User cannot issue the RUN or MCR commands or use the foreign command mechanism in DCL. |
UAI$V_DISMAIL | Announcement of new mail is suppressed. |
UAI$V_DISPWDDIC | Automatic checking of user-selected passwords against the system dictionary is disabled. |
UAI$V_DISPWDHIS | Automatic checking of user-selected passwords against previously used passwords is disabled. |
UAI$V_DISPWDSYNCH | When set, prevents synchronizing a user's SYSUAF.DAT password using an external authentication password (when UAI$V_EXTAUTH is set). |
UAI$V_DISRECONNECT | User cannot reconnect to existing processes. |
UAI$V_DISREPORT | User will not receive last login messages. |
UAI$V_DISWELCOME | User will not receive the login welcome message. |
UAI$V_EXTAUTH | User is considered to be externally authenticated by their external user ID and password, and not by the SYSUAF user ID and password. The SYSUAF record is still used for checking login restrictions and quotas and for creating the user's OpenVMS process profile. |
UAI$V_GENPWD | User is required to use generated passwords. |
UAI$V_LOCKPWD | SET PASSWORD command is disabled. |
UAI$V_MIGRATEPWD | User's SYSUAF password has been set using AUTHORIZE or SYS$SETUAI and is likely to be inconsistent with the user's external user password. If password migration is enabled, the system will attempt to update the external authentication service the next time the user attempts a login. |
UAI$V_NOMAIL | Mail delivery to user is disabled. |
UAI$V_PWD_EXPIRED | Primary password is expired. |
UAI$V_PWD2_EXPIRED | Secondary password is expired. |
UAI$V_RESTRICTED | User is limited to operating under a restricted account. (For a description of restricted and captive accounts, see the HP OpenVMS Guide to System Security.) |
UAI$V_VMSAUTH | When set, the user is allowed to authenticate using the user's SYSUAF.DAT user name and password (when UAI$V_EXTAUTH is set). |
Because this quota is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because a file specification can include up to 63 characters in addition to a size-byte prefix, the buffer length field of the item descriptor should specify 64 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because the owner name can include up to 31 characters in addition to a size-byte prefix, the buffer length field of the item descriptor should specify 32 (bytes).
Because the paged buffer I/O byte count limit is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because the paging file quota is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because the subprocess creation limit is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because this decimal number is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
Each bit represents a day of the week, with the bit clear representing a primary day and the bit set representing a secondary day. The $UAIDEF macro defines the following symbolic names for these bits:
UAI$V_MONDAY
UAI$V_TUESDAY
UAI$V_WEDNESDAY
UAI$V_THURSDAY
UAI$V_FRIDAY
UAI$V_SATURDAY
UAI$V_SUNDAY
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
A value of --1 indicates that the password is marked as preexpired.
Because this decimal number is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
A quadword of 0 means that none of the password mechanisms will take effect.
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
Because this value is a quadword in length, the buffer length field in the item descriptor should specify 8 (bytes).
A value of --1 indicates that the password could be marked as preexpired.
Because this decimal number is a byte in length, the buffer length field in the item descriptor should specify 1 (byte).
The buffer length field in the item descriptor should specify 3 (bytes).
The buffer length field in the item descriptor should specify 3 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
Because this decimal number is a word in length, the buffer length field in the item descriptor should specify 2 (bytes).
You can read information written to the user data area from previous versions of the operating system as long as the information written adheres to the guidelines described in the HP OpenVMS Guide to System Security.
Because the working set extent is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
Because this quota is a longword decimal number, the buffer length field in the item descriptor should specify 4 (bytes).
The Get User Authorization Information service returns authorization information about a specified user.The contxt value returned by $GETUAI should never be used as a value to the $SETUAI system service.
You examine for a valid login by checking the bits of UAI$V_PWD_EXPIRED and UAI$V_DISUSER, and by doing a comparison of the UAI$_PWD_DATE item code against the UAI$_PWD_LIFETIME item code.
The UAI$V_PWD_EXPIRED bit is only set by the system when the bit UAI$V_DISFORCE_PWD_CHANGE is set in the user's SYSUAF record and the comparison between the UAI$_PWD_DATE and UAI$_PWD_LIFETIME indicates a password is past its valid life.
During a normal login when the UAI$V_DISFORCE_PWD_CHANGE bit is not set, the system compares VAI$_PWD_DATE against UAI$_PWD_LIFETIME and, if expired, forces the user to change the password. With this configuration, the UAI$V_PWD_EXPIRED bit is not set.
During a normal login when the VAI$V_DISFORCE_PWD_EXPIRED is set, the system compares UAI$_PWD_DATE against UAI$_PWD_LIFETIME and, if expired, sets the UAI$_PWD_EXPIRED bit and notifies the user to change the now-expired password. In this case, the user is not forced to change the password.
Use the following list to determine the privileges required to use the $GETUAI service:
- BYPASS or SYSPRV---Allows access to any record in the user authorization file (UAF).
- GRPPRV---Allows access to any record in the UAF whose UIC group matches that of the requester.
- No privilege---Allows access to any UAF record whose UIC matches that of the requester.
You need read access to the UAF to look up any information other than your own.None
$SETUAI
SS$_NORMAL The service completed successfully. SS$_ACCVIO The item list or input buffer cannot be read by the caller; or the return length buffer, output buffer, or status block cannot be written by the caller. SS$_BADPARAM The function code is invalid; the item list contains an invalid item code; a buffer descriptor has an invalid length; or the reserved parameter has a nonzero value. SS$_NOGRPPRV The user does not have the privileges required to examine the authorization information for other members of the UIC group. SS$_NOSYSPRV The user does not have the privileges required to examine the authorization information associated with the user or for users outside of the user's UIC group. RMS$_RSZ The UAF record is smaller than required; the caller's SYSUAF is probably corrupt.
This service can also return OpenVMS RMS status codes associated with operations on indexed files. For example, an inquiry about a nonexistent account returns RMS$_RNF, record not found status. For a description of RMS status codes that are returned by this service, see the OpenVMS Record Management Services Reference Manual.
Returns the current time in 128-bit UTC format.On Alpha and I64 systems, this service accepts 64-bit addresses.
SYS$GETUTC utcadr
int sys$getutc (unsigned int *utcadr [4]);
utcadr
OpenVMS usage: coordinated universal time type: utc_date_time access: write only mechanism: by 32- or 64-bit reference (Alpha and I64); by 32-bit reference (VAX)
The 128-bit time value to be returned.
The Get UTC Time service returns the current system time in 128-bit UTC format. System time is updated every 10 milliseconds.On Alpha and I64 systems, the frequency at which system time is updated varies, depending on the clock frequency of the Alpha or I64 processor.
None
None
$ASCUTC, $BINUTC, $NUMUTC, $TIMCON
SS$_NORMAL The service completed successfully. SS$_ACCVIO The argument was not accessible for write in the mode of the caller.
Previous | Next | Contents | Index |