Re: fradius] Re: User Lock Out

2002-09-18 Thread Kostas Kalevras

On Tue, 17 Sep 2002, Nick Marino wrote:

> 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".
>

You can set Auth-Type to Reject. Just uncomment Auth-Type from
conf/user_edit.attrs and it should work.

--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]  National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf


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



Re: fradius] Re: User Lock Out

2002-09-17 Thread Nick Marino

well I still havent figured out how to control individual users times they
are alowed on the system and duration other than making everyone one
unlimited time.  I dont see where that is located either.

- Original Message -
From: "Tim McCracken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 9:52 PM
Subject: RE: fradius] Re: User Lock Out


> I recently asked if Free Radius would recognize the Expiration-Date
> attribute and was told it would, so that should work.  It should send an
> Auth-Reject if the current date/time is later than the expiration date.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nick Marino
> Sent: Tuesday, September 17, 2002 9:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: fradius] Re: User Lock Out
>
>
> 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
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


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



RE: fradius] Re: User Lock Out

2002-09-17 Thread Tim McCracken

I recently asked if Free Radius would recognize the Expiration-Date
attribute and was told it would, so that should work.  It should send an
Auth-Reject if the current date/time is later than the expiration date.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nick Marino
Sent: Tuesday, September 17, 2002 9:37 PM
To: [EMAIL PROTECTED]
Subject: Re: fradius] Re: User Lock Out


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


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



Re: fradius] Re: User Lock Out

2002-09-17 Thread Nick Marino

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



Re: fradius] Re: User Lock Out

2002-09-17 Thread R P Herrold

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



Re: fradius] User Lock Out

2002-09-17 Thread Nick Marino

Am I in the wrong place?

I am not authenticating against linux users.

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


> On Tue, 17 Sep 2002, Nick Marino wrote:
>
> > Is there a way to lock a user out in Dialup Admin, other than changing
their
> > password?
>
>passwd -l userid
>
> see man passwd
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


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



Re: fradius] User Lock Out

2002-09-17 Thread R P Herrold

On Tue, 17 Sep 2002, Nick Marino wrote:

> Is there a way to lock a user out in Dialup Admin, other than changing their
> password?

   passwd -l userid

see man passwd


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



Re: User Lock Out

2002-09-17 Thread Nick Marino

dont see that anywhere in dialup admin, and I am using a sql database for
auth not linux.
- Original Message -
From: "Marcin Groszek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 9:11 PM
Subject: Re: User Lock Out


> Change the user shel to /dev/null.
>
>
> Nick Marino wrote:
>
> > Is there a way to lock a user out in Dialup Admin, other than changing
their
> > password?
> >
> > -
> > List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
> --
> Best Regards: Marcin Groszek
> Http://www.hostplus.net
> Where we offer:
> Server Co-location, Web Site Hosting and Internet Access.
>
>
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


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



Re: User Lock Out

2002-09-17 Thread Marcin Groszek

Change the user shel to /dev/null.


Nick Marino wrote:

> Is there a way to lock a user out in Dialup Admin, other than changing their
> password?
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

--
Best Regards: Marcin Groszek
Http://www.hostplus.net
Where we offer:
Server Co-location, Web Site Hosting and Internet Access.




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



User Lock Out

2002-09-17 Thread Nick Marino

Is there a way to lock a user out in Dialup Admin, other than changing their
password?


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