To log in (also: to log on, sign in, or sign on) is to identify oneself to the system in order to obtain access. The concept derives from the action of clocking in on arrival at a factory, where a worker would stamp a timesheet or card upon their arrival. Its usage in computing derives from IBM parlance.
The primary use of a computer login procedure is to authenticate the identity of any computer user (or computer software on this or a different computer) attempting to access the computer's services. The login procedure can also provide an audit trail of the use of the system.
To log in to a system usually requires:
The login prompt of operating systems is sometimes preceded by a logon banner which is a short message written by the system administrator. The logon banner usually pops up as a dialog box and it requires acknowledgement (typically the user clicking the OK button) before it will disappear. The logon banner is typically used in universities, schools and businesses to inform users about their rights when using the system Legal information may also be included. Employers who monitor their employees using employee monitoring software usually state in the logon banner that user activity is being monitored. Users cannot claim ignorance as the logon banner requires acknowledgment before the user can even log on to the computer.
Logging out may be done explicitly by the user performing some action, such as entering the appropriate command, or clicking a website link labeled as such. It can also be done implicitly, such as by powering the machine off, closing a web browser window, leaving a website, or not refreshing a webpage within a defined period.
In the case of web sites that use [cookie|cookies] to track sessions, when the user logs out, session-only [cookie|cookies] from that site will usually be deleted from the user's computer. In addition, the server invalidates any associations with the session, making any session-handle in the user's [cookie|cookie] store useless. This features comes in handy if the user is using a public computer. As a security precaution, one should not rely on implicit means of logging out of a system, especially not on a public computer, instead one should explicitly log out and wait for the confirmation that this request has taken place.
Logging out of a computer when leaving it is a common security practice, preventing unauthorized users from tampering with it. There are also people who choose to have a password-protected screensaver to activate after some time of inactivity, requiring the user to renter their login credentials to unlock the screensaver to gain access to the system.