RADWHO(1)
π radwho β FreeRADIUS Daemon
okay so bestie, welcome to radwho(1), the little utility that lets you peek at who's online rn β¨
πΈ NAME
radwho β show online users π«Ά
β¨ SYNOPSIS
radwho [-c] [-d raddb_directory] [-F radutmp_file] [-i] [-n] [-N
nas_ip_address] [-p] [-P nas_port] [-r] [-R] [-s] [-S] [-u user] [-U
user] [-Z]
π¦ DESCRIPTION
so the FreeRADIUS server can be configured to keep an active session database in a file called radutmp β like, a whole little guest list of who's currently connected π and this utility radwho shows you the content of that session database. that's it, that's the vibe. main character energy for session data, periodt.
π OPTIONS
-cβ shows caller ID (if it's available) instead of the full name. iykyk π-draddb_directory β the directory that contains the RADIUS configuration files. defaults to/etc/raddb. ποΈ-Fradutmp_file β the file that contains the radutmp file. if you specify this, then-dis not necessary. one or the other, bestie, you got options π-iβ shows the session ID instead of the full name. π-nβ normallyradwholooks up the username in the systems password file, and shows the full username as well. the-nflag prevents this. no lookups, no extra name, we stay private π-Nnas_ip_address β show only those entries which match the given NAS IP address. filter slay π₯-pβ adds an extra column for the port type βIfor ISDN,Afor Analog. iconic little column ngl π-Pnas_port β show only those entries which match the given NAS port. πͺ-rβ outputs all data in raw format β no headers, no formatting, fields are comma-separated. just the raw truth fr fr π-Rβ output all data in RADIUS attribute format. all fields are printed. every single one, we're not skipping anything π-sβ show full name. π-Sβ hide shell users. doesn't show the entries for users that do not have a SLIP or PPP session. bye to the shell-only girlies π-uuser β show only those entries which match the given username (case insensitive). lowercase girlie friendly π-Uuser β show only those entries which match the given username (case sensitive). exact match energy, capital letters matter bestie β-Zβ when combined with-R, prints out the contents of an Accounting-Request packet which can be passed toradclient, in order to "zap" that user's session fromradutmp. β‘ literal zap
π« the examples (they ate, no cap)
for example,
$ radwho -ZRN 10.0.0.1 | radclient -f - radius.example.net acct testing123
will result in all an Accounting-Request packet being sent to the RADIUS server, which tells the server that the NAS rebooted. i.e. it "zaps" all of the users on that NAS. π₯ boom, everyone's off the guest list
to "zap" one user, specify NAS, username, and NAS port:
$ radwho -ZRN 10.0.0.1 -u user -P 10 | radclient -f - radius.example.net acct testing123
other combinations are also possible. ok go off and experiment, you've got this π§
π SEE ALSO
radiusd(8), radclient(1), radiusd.conf(5).
π AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl.
and that's the whole page bestie π β footer tea: this is from RADWHO(1), FreeRADIUS Daemon, dated 17 Feb 2013. mwah, go check who's online π
π¦ 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-utils 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 9: freeradius-utils 3.0.27-4.el9 Β· GPLv2+ and LGPLv2+
- fedora 43: freeradius-utils 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius-utils 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius-utils 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 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