Login Scripts

A NetWare login script is a list of commands that are executed each time the user logs on to the NetWare network. Login scripts can create settings for user defaults such as drive mappings, search drive mappings, printer configurations, and other variable settings that define the user's environment configuration on the NetWare network. Thus, they enable you to create a consistent user environment.

Login scripts reside on NetWare servers and execute when you access NetWare networks through Client Service for NetWare or Gateway Service for NetWare. If you want to use a NetWare login script to set up variables on the NetWare network each time a user connects to the NetWare network, you must enable the Login Script option in the Client Service for NetWare or the Gateway Service for NetWare dialog box. When you enable the Login Script option in Gateway Service for NetWare, the NetWare login script is executed when you log on to the computer. The variables in the NetWare login script then apply for all users that access the NetWare network through Gateway Service for NetWare. When you enable the Login Script option in Client Service for NetWare, the NetWare login script is executed when the user is authenticated to the NetWare network and the NetWare login script variables only apply to the individual user.

Bindery-based and NDS versions of NetWare enable you to use different login scripts. The bindery-based server version provides system and user login scripts that are executed at the system-wide level and at the user level, respectively. The system login script sets variables for all users on a server.

NDS enables you to use four types of login scripts that work in sequence to set users rights to services at the container, profile, and user level. NDS enables you to use the following login scripts:

  • The NDS container login script is similar to the system login script in the NetWare bindery-based server version but sets global variables at the container level so that you can set variables for different organizations.

  • The NDS profile login script allows you to set variables for users who need common access to specific applications or members of workgroups.

  • The user login script allows you to set variables for individual users.

  • The default login script is executed when a user login script is not available.

For detailed information about setting up a NetWare login script, see your NetWare documentation. For information about troubleshooting login scripts accessed through Gateway Service for NetWare or Client Service for NetWare, see "Troubleshooting NetWare Login Scripts" later in this chapter.