rlm_unix(5)

πŸ“¦
version 3.2.10 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

πŸ’– 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 the radlast program. lowkey important πŸ‘‘

πŸ”₯ CONFIGURATION πŸ”₯

Here's the config snippet, bestie β€” copy it exactly, no freestyling πŸ™ˆ

modules {
  ...
  unix {
    radwtmp = ${logdir}/radwtmp
  }
  ...
}

🌈 SECTIONS 🌈

  • authentication
  • accounting

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