summaryrefslogtreecommitdiffstats
path: root/man/man5/rlm_unix.5
blob: 38668e0ffff3b221555ad70ccbe86cf8996d0dc3 (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
.\"     # DS - begin display
.de DS
.RS
.nf
.sp
..
.\"     # DE - end display
.de DE
.fi
.RE
.sp
..
.TH rlm_unix 5 "17 February 2005" "" "FreeRADIUS Module"
.SH NAME
rlm_unix \- FreeRADIUS Module
.SH DESCRIPTION
The \fIrlm_unix\fP module reads crypt(3) passwords from the system
password file, and allows the server to use them for authentication.
The module also provides FreeRADIUS an interface into a radwtmp file
(used by "radlast") when added to the accounting section.
.PP
The \fIrlm_unix\fP module should be listed in the
"authenticate" section.  Please see the default \fIradiusd.conf\fP
shipped with the server for an example of the correct usage of this
module.
.PP
As of FreeRADIUS 1.1.0, the module no longer reads, or caches
/etc/passwd, /etc/shadow, or /etc/group.  If you wish to cache those
files, see \fIrlm_passwd\fP.  Most, if not all, configurations should
not need those files to be cached.
.PP
The main configuration items to be aware of are:
.IP radwtmp
The path to the system wtmp file to be used for keeping the database
of online users as read by the 'radlast' program.
.SH CONFIGURATION
.PP
.DS
modules {
  ...
.br
  unix {
.br
    radwtmp = ${logdir}/radwtmp
.br
  }
.br
  ...
.br
}
.DE
.PP
.SH SECTIONS
.BR authentication,
.BR accounting
.PP
.SH FILES
.I /etc/raddb/radiusd.conf,
.PP
.SH "SEE ALSO"
.BR radiusd (8),
.BR radiusd.conf (5),
.BR rlm_passwd (5),
.BR radlast (1)
.SH AUTHORS
Chris Parker, cparker@segv.org