My original post was "is there anyway to do it in DIALUP ADMIN that comes
with free radius to lock a user out other than chaning thier password".

----- Original Message -----
From: "R P Herrold" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 9:33 PM
Subject: Re: fradius] Re: User Lock Out


> On Tue, 17 Sep 2002, Nick Marino wrote:
>
> > dont see that anywhere in dialup admin, and I am using a sql database
for
> > auth not linux.
>
> Ahhh ... I have a presentation on the general topic of command
> shell MySQL access (in part) at:
>    http://www.colug.net/notes/0208mtg/
>
> This code fragment should work ...
>
>
> $select1 = "select passwdhash from usertable \
> where userid = '$userid' \
> limit 1";
> $result1 = mysql_query($select1);
> $row1 = mysql_fetch_assoc($result);
> $t_passwdhash   = $row1["passwdhash"];
> $t_passwdhash = "*20020917*" . $passwdhash;
> $select2 = "update usertable set passwdhash = '$passwdhash' \
> where userid = '$userid'";
> $result2        = mysql_query($select2);
>
>
>  -- Russ Herrold
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


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

Reply via email to