Supervising the Network
5-58
Customizing the User Environment
Identifier Variables
Identifier Variables
With many login script commands, you can take advantage of identifier
variables to make your login script more efficient and flexible.
Identifier variables allow you to enter a variable (such as LAST_NAME),
rather than a specific name (such as Smith) in a login script command. When
the login script executes, it substitutes real values for the identifier variables.
By using the variable, you can make the login script command applicable to
many users instead of limiting it to one user.
For example, the command
WRITE “Hello, ”%LAST_NAME
displays the following message on Bob’s Smith’s workstation screen when
he logs in:
Hello, SMITH
Similarly, when Mary Jones logs in, the message she sees is
Hello, JONES
In the previous example, when the user logged in, the user’s actual last name
was substituted for the LAST_NAME variable in the command.
Table 5-6 lists all the available identifier variables.