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 |
---|
20 | records |
---|
21 | .SH DESCRIPTION |
---|
22 | The directory |
---|
23 | .I /var/athena/sessions |
---|
24 | contains session records giving information about each user's active |
---|
25 | login sessions and recording the changes made during account setup. |
---|
26 | Each file in the directory is a username, and contains the following |
---|
27 | information if it is not empty: |
---|
28 | .TP 3 |
---|
29 | * |
---|
30 | A line containing either "0" or "1", specifying whether a passwd entry |
---|
31 | was added for the user. |
---|
32 | .TP 3 |
---|
33 | * |
---|
34 | A line containing either "0" or "1", specifying whether the user's |
---|
35 | home directory was successfully attached. |
---|
36 | .TP 3 |
---|
37 | * |
---|
38 | A line containing either "0" by itself or "1" followed by a string, |
---|
39 | specifying whether the user's existing passwd entry was modified to |
---|
40 | point to a temporary home directory. This line must be "0" if the |
---|
41 | first line is "1". |
---|
42 | .TP 3 |
---|
43 | * |
---|
44 | A list of gid values, each followed by a colon, specifying the groups |
---|
45 | the user was added to during account creation. |
---|
46 | .TP 3 |
---|
47 | * |
---|
48 | A list of pid values, each followed by a colon, giving the user's |
---|
49 | active login sessions. There must be at least one pid. |
---|
50 | .PP |
---|
51 | If a session record is empty, it indicates that the user has no active |
---|
52 | login sessions and has no account set up. For locking reasons, |
---|
53 | session records are never deleted under normal system operation; the |
---|
54 | session database may be cleared at boot time and empty records may be |
---|
55 | deleted at times when users are known not to be logging in or out (see |
---|
56 | reactivate(8)). Before reading or writing a session record, a process |
---|
57 | must obtain an exclusive lock on the record using |
---|
58 | .IR fcntl . |
---|
59 | .SH SEE ALSO |
---|
60 | al_acct_create(3), al_acct_revert(3) |
---|
61 | .SH AUTHOR |
---|
62 | Greg Hudson, MIT Information Systems |
---|
63 | .br |
---|
64 | Copyright 1997 by the Massachusetts Institute of Technology. |
---|