List of commonly used login script identifier variables
(Last modified: 11Feb2003)
This document (10020568) is provided subject to the disclaimer at the end of this document.
fact
Novell NetWare 4.11
Novell NetWare 5.0
Formerly TID 2913402
goal
List of commonly used login script identifier variables
fix
A list of commonly used login script variables is listed below with sample syntax
NOTE: THESE VARIABLES ONLY WORK IN UPPER CASE
SAMPLE LOGIN SCRIPT WITH VARIABLES
-----------------------------------------------------------------------------------------------------
MAP DISPLAY ON
WRITE ""
WRITE "Access Server : %ACCESS_SERVER"
WRITE "Account Balance : %ACCOUNT_BALANCE"
WRITE "Administrative Assistant : %ADMINISTRATIVE_ASSISTANT"
WRITE "Allow Unlimited Credit : %ALLOW_UNLIMITED_CREDIT"
WRITE "Certificate Validity Interval : %CERTIFICATE_VALIDITY_INTERVAL"
WRITE "CN (Common Name) : %CN"
WRITE "Description : %DESCRIPTION"
WRITE "E-Mail Address : %EMAIL_ADDRESS"
WRITE "ERROR LEVEL : %ERROR_LEVEL"
WRITE "Equivalent To Me : %EQUIVALENT_TO_ME"
WRITE "Fax Number : %FACSIMILE_TELEPHONE_NUMBER"
WRITE "File Server : %FILE_SERVER"
WRITE "Full Name : %FULL_NAME"
WRITE "Generational Qualifier : %GENERATIONAL_QUALIFIER"
WRITE "Given Name : %GIVEN_NAME"
WRITE "Group Membership : %GROUP_MEMBERSHIP"
WRITE "Higher Privileges : %HIGHER_PRIVILEGES"
WRITE "Home directory : %HOME_DIRECTORY"
WRITE "Initials : %INITIALS"
WRITE "L (Locality) : %L"
WRITE "Language : %LANGUAGE"
WRITE "Last Name : %LAST_NAME"
WRITE "Locked By Intruder : %LOCKED_BY_INTRUDER"
WRITE "Login Alias context : %LOGIN_ALIAS_CONTEXT"
WRITE "Login Context : %LOGIN_CONTEXT"
WRITE "Login Disabled : %LOGIN_DISABLED"
WRITE "Login Grace Limit : %LOGIN_GRACE_LIMIT"
WRITE "Login Grace Remaining : %LOGIN_GRACE_REMAINING"
WRITE "Login Maximum Simultaneous : %LOGIN_MAXIMUM_SIMULTANEOUS"
WRITE "Login Name : %LOGIN_NAME"
WRITE "Machine : %MACHINE"
WRITE "Mailbox ID : %MAILBOX_ID"
WRITE "Mailbox Location : %MAILBOX_LOCATION"
WRITE "Mailstop : %MAILSTOP"
WRITE "Message Server : %MESSAGE_SERVER"
WRITE "Minimum Account Balance : %MINIMUM_ACCOUNT_BALANCE"
WRITE "Network Address : %NETWORK"
WRITE "Network address restriction : %NETWORK_ADDRESS_RESTRICTION"
WRITE "New Mail : %NEW_MAIL"
WRITE "Object Class : %OBJECT_CLASS"
WRITE "OS : %OS"
WRITE "OS Version : %OS_VERSION"
WRITE "OU (Department) : %OU"
WRITE "Password Allow Change : %PASSWORD_ALLOW_CHANGE"
WRITE "Password Expires : %PASSWORD_EXPIRES"
WRITE "Password Minimum Length : %PASSWORD_MINIMUM_LENGTH"
WRITE "Password Required : %PASSWORD_REQUIRED"
WRITE "Password Unique required : %PASSWORD_UNIQUE_REQUIRED"
WRITE "Passwords Used : %PASSWORDS_USED"
WRITE "Physical Delivery Office Name : %PHYSICAL_DELIVERY_OFFICE_NAME"
WRITE "Physical Station : %P_STATION"
WRITE "Postal Address : %POSTAL_ADDRESS"
WRITE "Postal Code : %POSTAL_CODE"
WRITE "Postal Office Box : %POSTAL_OFFICE_BOX"
WRITE "Private Key : %PRIVATE_KEY"
WRITE "Profile : %PROFILE"
WRITE "Requester Context : %REQUESTER_CONTEXT"
WRITE "Requester Version : %REQUESTER_VERSION"
WRITE "Revision : %REVISION"
WRITE "S (State) : %S"
WRITE "SA (Street Address) : %SA"
WRITE "Security Equals : %SECURITY_EQUALS"
WRITE "Security Flags : %SECURITY_FLAGS"
WRITE "See Also : %SEE_ALSO"
WRITE "Server Holds : %SERVER_HOLDS"
WRITE "Shell Version : %SHELL_VERSION"
WRITE "Short machine type : %SMACHINE"
WRITE "Station : %STATION"
WRITE "Supervisor : %SUPERVISOR"
WRITE "Surname : %SURNAME"
WRITE "Telephone number : %TELEPHONE_NUMBER"
WRITE "Title : %TITLE"
WRITE "User ID : %USER_ID"
WRITE ""
Following: Display Last Login Date and Time also other misc time variables
WRITE "Last Login Time :%LASTLOGINTIME"
note Lastlogintime works differently with the GUI window 95/98/NT login script use
LASTLOGINTIME
on a line all by itself instead, Write "%LASTLOGINTIME" will not work.
WRITE "Greeting time : %GREETING_TIME"
WRITE "Hours : %HOURS"
WRITE "Hour in military : %HOUR24"
WRITE "Minutes : %MINUTE"
WRITE "Seconds : %SECOND"
WRITE "AM OR PM : %AM_PM"
WRITE "DAY : %DAY"
WRITE "Day of the week : %DAY_OF_WEEK"
WRITE "Number of day of the week : %NDAY_OF_WEEK"
WRITE "Month : %MONTH"
WRITE "Name of Month : %MONTH_NAME"
WRITE "Year by last two digits : %SHORT_YEAR"
WRITE "Full Year : %YEAR"
Following: Display Environment Variables
WRITE "COMSPEC : "; <COMSPEC>
WRITE "NWLANGUAGE : "; <NWLANGUAGE>
WRITE "TZ (Timezone) : "; <TZ>
WRITE ""
Identifier Variable Alternate Keyword
----------------------------------------------------------------------------
ACCESS_SERVER ACESSSERVER
ACCESS
AM_PM
DAY
DAY_OF_WEEK
ERROR_LEVEL ERRORLEVEL
FILE_SERVER FILESERVER
FULL_NAME
GREETING_TIME
HOUR HOURS
HOUR24
LAST_NAME
LOGIN_ALIAS_CONTEXT (NDS only)
LOGIN_CONTEXT (NDS only)
LOGIN_NAME
MACHINE
MEMBER OF "groupname"
MINUTE MINUTES
MONTH
MONTH_NAME
NDAY_OF_WEEK
NETWARE_REQUESTER
NETWORK_ADDRESS NETWORK
NETWORK_NUMBER
NEW_MAIL
NOT MEMBER OF "group"
OS
OS_VERSION
P_STATION PHYSICAL_STATION
PASSWORD_EXPIRES
REQUESTER_VERSION DOS_REQUESTER
NETWARE_REQUESTER
REQUESTER
REQUESTER_CONTEXT (NDS only)
SECOND
SHELL_TYPE NETWARE_SHELL
SHELL_VERSION
SHORT_YEAR
SMACHINE
STATION CONNECTION
SLOT
USER_ID USERID
YEAR
USER PROPERTIES THAT DO NOT WORK
Item Comment
------------------------------------------------------------------------------------------------
DEFAULT PROFILE Not a user property.
E-MAIL ADDRESS Use Email Address instead.
INTRUDER ADDRESS Use Last Intruder Address instead.
HIGHER PRIVILEGES Not currently implemented.
LIMIT GRACE LOGINS Use Login Grace Limit instead.
LOGIN RESTRICTIONS Not a user property.
LOGIN NAME Not a user property.
NETWORK ADDRESS RESTRICTIONS Use Network Address Restriction instead.
NETWORK ADDRESSES Use Network Address instead.
OBITUARY A hidden attribute which cannot be accessed.
OBJECT TRUSTEES Use Object Trustees (ACL) instead.
ORGANIZATIONAL UNIT Use Department instead.
OTHER NAME Use Name instead.
PASSWORD EXPIRATION DATE & TIME Use Password Expiration Time instead.
PASSWORD EXPIRATION DATE Use Password Expiration Time instead.
PASSWORD RESTRICTIONS Not a user property.
PASSWORDS USED A hidden attribute which cannot be accessed.
PRINTER CONTROL Not a user property.
PRIVATE KEY A hidden attribute which cannot be accessed.
PROFILE MEMBERSHIP Use Profile instead.
PUBLIC KEY A hidden attribute which cannot be accessed.
REFERENCE A hidden attribute which cannot be accessed.
REQUIRE A UNIQUE PASSWORD Use Require Unique Passwords or Password Unique Required instead.
SECURITY FLAGS Not a user property.
SECURITY EQUIVALENCES Use Security Equals or Security Equal To instead.
STREET Use SA or Street Address instead.
VOLUME Not a user property..
.
document
Document Title: | List of commonly used login script identifier variables |
Document ID: | 10020568 |
Solution ID: | 1.0.36606113.2379721 |
Creation Date: | 29Oct1999 |
Modified Date: | 11Feb2003 |
Novell Product Class: | Management Products NetWare |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.