NAME

radius-edit - manipulate a RADIUS users file


SYNOPSIS

radius-edit --add [--file file] --attrib name=value ... user

radius-edit --remove [--file file] user ...

radius-edit --help

radius-edit --man

radius-edit --version


DESCRIPTION

Modify a RADIUS users file by adding/updating the specified user or by removing the specified list of users.


OPTIONS

--add
Store information on the named user in the RADIUS users file. The info should be specified by using one or more --attrib arguments.

--remove
Remove the named user from the RADIUS users file. More than one user may be removed by specifying multiple names.

--file file
Specify a RADIUS users file to manipulate instead of the default.

--attrib name=value
Specify an attribute to add. More than one attribute can be added by using multiple --attrib options.

--help
Print help information and exit.

--man
Print the man page and exit.

--version
Print the version number and exit.


RETURN VALUES

On success, 0 is returned. On failure, non-zero is returned and an error message is printed to STDERR.


FILES

/etc/raddb/users
Default RADIUS users file, loaded at runtime if a different one isn't specified with the -f option.


REQUIRES

Perl 5.004, Getopt::Long, Pod::Usage, RADIUS::UserFile


SEE ALSO

the RADIUS::UserFile manpage


AUTHOR

Copyright 2000 O'Shaughnessy Evans, oevans@acm.org. All rights reserved.