source: trunk/athena/lib/al/sessions.5 @ 10596

Revision 10596, 2.5 KB checked in by ghudson, 27 years ago (diff)
Athena login library sources, from the athena-login locker where initial development was done.
Line 
1.\" $Id: sessions.5,v 1.1 1997-10-21 01:54:23 ghudson Exp $
2.\"
3.\" Copyright 1997 by the Massachusetts Institute of Technology.
4.\"
5.\" Permission to use, copy, modify, and distribute this
6.\" software and its documentation for any purpose and without
7.\" fee is hereby granted, provided that the above copyright
8.\" notice appear in all copies and that both that copyright
9.\" notice and this permission notice appear in supporting
10.\" documentation, and that the name of M.I.T. not be used in
11.\" advertising or publicity pertaining to distribution of the
12.\" software without specific, written prior permission.
13.\" M.I.T. makes no representations about the suitability of
14.\" this software for any purpose.  It is provided "as is"
15.\" without express or implied warranty.
16.\"
17.TH SESSIONS 5 "18 September 1997"
18.SH NAME
19/var/athena/sessions \- Directory containing Athena login session
20records
21.SH DESCRIPTION
22The directory
23.I /var/athena/sessions
24contains session records giving information about each user's active
25login sessions and recording the changes made during account setup.
26Each file in the directory is a username, and contains the following
27information if it is not empty:
28.TP 3
29*
30A line containing either "0" or "1", specifying whether a passwd entry
31was added for the user.
32.TP 3
33*
34A line containing either "0" or "1", specifying whether the user's
35home directory was successfully attached.
36.TP 3
37*
38A line containing either "0" by itself or "1" followed by a string,
39specifying whether the user's existing passwd entry was modified to
40point to a temporary home directory.  This line must be "0" if the
41first line is "1".
42.TP 3
43*
44A list of gid values, each followed by a colon, specifying the groups
45the user was added to during account creation.
46.TP 3
47*
48A list of pid values, each followed by a colon, giving the user's
49active login sessions.  There must be at least one pid.
50.PP
51If a session record is empty, it indicates that the user has no active
52login sessions and has no account set up.  For locking reasons,
53session records are never deleted under normal system operation; the
54session database may be cleared at boot time and empty records may be
55deleted at times when users are known not to be logging in or out (see
56reactivate(8)).  Before reading or writing a session record, a process
57must obtain an exclusive lock on the record using
58.IR fcntl .
59.SH SEE ALSO
60al_acct_create(3), al_acct_revert(3)
61.SH AUTHOR
62Greg Hudson, MIT Information Systems
63.br
64Copyright 1997 by the Massachusetts Institute of Technology.
Note: See TracBrowser for help on using the repository browser.