"Squegie T. Sanest" <[EMAIL PROTECTED]> wrote:
> Could anyone point me in the direction of a program/script that, given a
> list of username/passwords, would allow me to hit radius with
> authentication requests?

  A simple shell script would do the trick.  Have a file of:

username:password

  and do:

#!/bin/sh
for line in `cat filename`; do
  user=`echo $line | sed 's/:.*//';`
  pass=`echo $line | sed 's/.*://';`

  echo "User-Name = \"$user\", User-Password = \"$pass\"" > test
  radclient -d /etc/raddb -f test localhost auth testing123
done


  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to