rlm_unix(5)
π NAME π
okay bestie, meet rlm_unix β the FreeRADIUS Module and the star of this rlm_unix(5) page. main character energy fr fr π
π¦ DESCRIPTION π¦
So the rlm_unix module reads crypt(3) passwords from the system password file and lets the server use them for authentication. It also gives FreeRADIUS an interface into a radwtmp file β the one used by radlast β when it's added to the accounting section. slay β¨
This module should be listed in the "authenticate" section. Please see the default radiusd.conf shipped with the server for an example of the correct usage of this module. iykyk π«Ά
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 rlm_passwd. Most, if not all, configurations should not need those files to be cached. no cap, that's the vibe now πΈ
The main configuration items to be aware of are:
radwtmpβ the path to the system wtmp file that's used for keeping the database of online users as read by theradlastprogram. lowkey important π
π₯ CONFIGURATION π₯
Here's the config snippet, bestie β copy it exactly, no freestyling π
modules {
...
unix {
radwtmp = ${logdir}/radwtmp
}
...
}
π SECTIONS π
authenticationaccounting
both icons, both valid π
π FILES π
/etc/raddb/radiusd.conf,
yes, with the comma β we keep it exactly as the page says π
π SEE ALSO π
radiusd(8), radiusd.conf(5), rlm_passwd(5), radlast(1)
go read those too, bestie, it's giving thorough π¦
π AUTHORS π
- Chris Parker,
cparker@segv.org
xoxo π that's the whole rlm_unix(5) page, bestie. Signed off from the FreeRADIUS Module corner, dated 17 February 2005 β periodt. π
π¦ where this page comes from
- alpine 3.22: freeradius-doc 3.0.27-r1 Β· GPL-2.0-or-later
- alpine 3.23: freeradius-doc 3.0.27-r2 Β· GPL-2.0-or-later
- alpine 3.24: freeradius-doc 3.0.27-r3 Β· GPL-2.0-or-later
- arch rolling: freeradius 3.2.10-4 Β· GPL-2.0-or-later
- centos-stream 10: freeradius 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 9: freeradius 3.0.27-4.el9 Β· GPLv2+ and LGPLv2+
- fedora 43: freeradius 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms