checkrad -- See if a user is (still) logged in on a certain port.
checkrad [-d] nas-type nas-ip nas-port login session-id
Checkrad is used by the radius server to check if its idea of a user
logged in on a certain port/NAS is correct if a double login is
Returns: 0 = no duplicate, 1 = duplicate, >1 = error.
-d Enable printing of debugging informations.
Type of port/NAS. Can be one of livingston, cisco cvx,
multitech, computone, max40xx, ascend, max40xx_snmp, portslave,
tc, pathras, pr3000, pr4000, patton, digitro, usrhiper,
netserver, versanet, bay, other.
The "other" type cause checkrad to skip any check and always
nas-ip IP address of the NAS to check.
The NAS port to check (may be ignored by some nas-type).
login The login name to check.
Session to check. (actually ignored by all nas-type)
Written by Miquel van Smoorenburg, firstname.lastname@example.org.
This manual page was written by Marco Nenciarini <email@example.com>
for the Debian project (but may be used by others).
13 January 2006