October 2010
Intermediate to advanced
1552 pages
45h 39m
English
Login accounting is concerned with recording which users are currently logged in to the system, and recording past logins and logouts. This chapter looks at the login accounting files and the library functions used to retrieve and update the information they contain. We also describe the steps that an application providing a login service should perform in order to update these files when a user logs in and out.
UNIX systems maintain two data files containing information about users logging in and out of the system:
• The utmp file maintains a record of users currently logged in to the system (as well as certain other information that we describe later). As each user logs in, a record ...
Read now
Unlock full access