man radzap (Commandes) - radzap -- remove rogue entries from the active sessions database

NAME

radzap -- remove rogue entries from the active sessions database

SYNOPSIS

radzap [-v] [-d radius_dir] [-W radwtmp_filename] [-u radutmp_filename] nas [port] [username]

DESCRIPTION

The Cistron Radius server maintains an active session database in a file called radutmp. Commands like radwho(1) use this database. Sometimes that database can get out of sync, and then it might contain rogue entries. Radzap can clean up this database.

OPTIONS

-v
Verbose. Shows you what it is doing.
-d radius_dir
Path to the directory that contains the configuration files.
-W radwtmp_filename
The path to the wtmp-style accounting file maintained by the radius server. Defaults to (on most systems) /var/log/radwtmp.
-u radutmp_filename
The path to the radutmp file, which is the session-database aka list of logged in users. Defaults to (on most systems) /var/log/radutmp.
nas
Hostname or IP address of the NAS (Network Access Server, sometimes called "terminal server") of the session you want to remove.
port
Port of the session you want to remove. This is the NAS-Port radius attribute, it doesn't have anything to do with UDP port numbers. Must be an integer. -1 means "any", and is the default if this option is not specified.
username
Optional: the username of the session you want to remove.

SEE ALSO

AUTHOR

Miquel van Smoorenburg, miquels@cistron.nl.