summaryrefslogtreecommitdiff
path: root/man/6/users
blob: 585cf18833c1e7b8ca696e57c7bd6b0c3518acfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.TH USERS 6
.SH NAME
users \- kfs file server user list format
.SH DESCRIPTION
The permanent file server
.IR kfs (4)
maintains a private list of users
and groups, in
.B /adm/users
by convention.
Each line in the file has the format
.IP
.IB num : name : leader :\fImembers\fP
.PP
where
.I num
is a decimal integer,
.I name
and
.I leader
are printable strings excluding the characters
.LR ? ,
.LR = ,
.LR + ,
.LR - ,
.LR / ,
and
.LR : ,
and
.I members
is a comma-separated list of such strings.
Such a line defines a user and a group with the given
.IR name ;
the group has a group leader given by
.I leader
and group members given by the user names in
.IR members .
The
.I leader
field may be empty,
in which case any group member is a group leader.
The
.I members
field may be empty.
.PP
Lines beginning with
.L #
are ignored.
.PP
The
.I num
in a line is a number used internally by a file server;
there should be no duplicate
.IR num s
in the file.
A negative
.I num
is special: a user with a negative
.I num
cannot attach to the file server.
The file
.B /adm/users
itself is owned by user
.IR adm ,
having a negative
.IR num ,
and write protected to others,
so it can only be changed via console commands.
.SH "SEE ALSO"
.IR kfs (4),
.IR intro (5),
.IR stat (5),
.IR kfscmd (8)