Is there a simple way to activate accounts on demand ?

Goke M Aruna goksie at gmail.com
Thu Nov 19 08:28:57 CET 2009


Play around with sql that works for radcheck and radgroupcheck(incase
its a group account), create a row called acct_enable_disable.
Edit your sql.conf to check the row created before authorizing user.


On 11/18/09, Alan DeKok <aland at deployingradius.com> wrote:
> Mazzz86 wrote:
>> I'm using Freeradius on a MySQL database with DialupAdmin web interface.
>> I would like to activate/desactivate users account on demand but i didnt
>> find any easy way to do it. After reading some forums, I saw some tricks
>> like updating the 'radcheck' table by putting "Reject" instead of the
>> password.
>
>   Put the disabled users into a group, and set Auth-Type = Reject for
> all users in the group.  See the FAQ for an example.
>
>> By the way, does someone know how to encrypt those passwords in 'radcheck'
>> table to increase security ?
>
>   Don't.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>

-- 
Sent from my mobile device



More information about the Freeradius-Users mailing list