[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.6 radauth

The radauth utility sends the Radius server an Access-Request packet and displays the result it gets. If the server responds with Access-Accept radauth can also send an Accounting-Request thereby initiating user's session.

The utility is a radtest program. See section 13.2.12 Sample Radtest Program, for the detailed discussion of its internals.

Invocation

 
radauth [options] [command] user-name [password]

Options are:

`-v'
Print verbose descriptions of what is being done.

`-n nas-ip'
Set NAS IP address

`-s sid'
Set accounting session ID

`-P port'
Set NAS port number.

<FIXME> GNU long options are not yet supported </>

Valid commands are:

auth
Send only Access-Request. This is the default.

acct
Send Access-Request. If successfull, send Accounting-Request with Acct-Status-Type = Start.

start
Send Accounting-Request with Acct-Status-Type = Start.

stop
Accounting-Request with Acct-Status-Type = Stop.

The program determines which Radius server to use, the authentication port number, and the shared secret, following the procedure common to all client scripts (see section 13.1 Client Configuration).



This document was generated by Sergey Poznyakoff on November, 20 2004 using texi2html