Login script

Updated: 09/12/2023 by Computer Hope
Script written in the Linux command line.

A login script is a script that is executed when a user logs into a computer. A login script can adjust settings in the operating system, map network drives for different groups of users, or even display a welcome message that is specific to each user. Multiple login scripts can even be utilized at the same time, with specific ones activated based on which user logs in and the operating system in use on the computer.

Businesses and schools often use login scripts to control what features are available in an operating system and what users can access on the computer.

Login scripts can be written as a batch file, shell script, or in a programming language. For example, a login script may be written in a Windows environment using VB (Visual Basic) or VBScript.

Login, Operating system terms, Programming language, Script