Customizing the user environment

Printing login scripts

Use the following instructions to print a login script.

The following list describes the prerequisites:

To print a login script from the command line, use the NLIST command and redirect the output to a file or a printer. You must be in an object's parent container to see and print the login script of that object.

To print a user's login script, use the following format:

NLIST user username show "login script" >LPT1

To print a container's login script, use the following format:

NLIST "organizational unit" = "ou name" show "login script" >LPT1

Any parameter of the NLIST command that includes a space in its name must be enclosed in quotation marks.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999