Next: radgrep, Previous: radlast, Up: Utility Programs [Contents][Index]
radzapradzap searches the Radius accounting database for matching login
records and closes them.
At least one of the options -n, -p, or the user name must be specified. If they are used in conjunction, they are taken as if joined by the logical AND operation.
radzap operates in two modes: silent and confirm. The silent
mode is enabled by default. When run in this mode, radzap deletes
every record that matches the search conditions given.
In confirm mode radzap will ask for a confirmation
before zapping each matching record. Any line beginning with a ‘y’
is taken as a positive response; any other line is taken as a negative
response.
The confirm mode is toggled by the command line option -c.
radzap [options] [username]
Options are:
Enable confirm mode.
Specify alternate configuration directory. Default is /usr/local/etc/raddb.
Operate on file instead of the default RADLOG/radutmp.
Search the file radutmp in the given directory.
This option is deprecated. It is currently retained for backward compatibility with previous versions.
Disable confirm mode.
Display a short help summary, and exit.
Specify NAS name to zap user from.
Specify the port number of the session to be zapped. The port number
can be specified either in its full form, e.g. radzap -p S02, or in
its short form, e.g. radzap -p 2.
Next: radgrep, Previous: radlast, Up: Utility Programs [Contents][Index]