Dear Evren,

Thank you Evren for all the help. It has solved my problem.

Alan
> further reading in README tells that if the script returns 1 then the
> access is not granted and if it returns 0 then granted so a simple script
> which checks the username from a file and if it is there returns 1 or if
> not adds the username to file and returns 0 would do. Without touching to
> passwords. Then you can if you want delete these users from radius at a
> later time with another script parsing the file where the logged in users
> and deleting info about these users from both files
>
> Evren
>
> On Thu, 5 Dec 2002, Evren Yurtesen wrote:
>
> > I am little bit newbie to radius too. But in tacacs+ it would be
possible
> > to run a shell script when a user logs on. It is possible to run a
script
> > before authorization.
> >
> > Also in freeradius faq it mentions about
> >
> > o  Exec-Program-Wait, allows you to set up an external program which
> >    is executed after authentication and outputs a list of A/V pairs
> >    which is then added to the reply.
> >
> > So maybe its possible to make such script which will change the password
> > of the user right after authentication. Also in docs README file it says
> >
> >   Exec-Program          string          program to execute after
authentication
> >   Exec-Program-Wait     string          ditto, but wait for program to
finish
> >                                         before sending back auth. reply
> >
> > In any case you can fix this with a script perhaps =) What do you say?
> >
> > Evren
> >
> > On Thu, 5 Dec 2002, Mail Admin wrote:
> >
> > > Dear Evren,
> > >
> > > Yes it is crucial that they can only logon once. This is the most
important
> > > factor and unfortunately cannot be changed. So I was thinking of
trying to
> > > change the code that will change their password to null once they have
> > > authenicated but am finding great difficulty being a C beginner. Is
there a
> > > better way to allow them to logon only once than the way I have
suggested?
> > >
> > > Thanks in advance
> > > Alan
> > >
> > >
> > > ----- Original Message -----
> > > From: "Evren Yurtesen" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, December 05, 2002 11:35 AM
> > > Subject: Re: Password
> > >
> > >
> > > > Why dont you search the accounting logs then delete the users which
logged
> > > > in once with a script? Lets say every day? or you can actually
change
> > > > their passwords too. Is it very crucial that they only logon once?
or is
> > > > it ok if they can use the account for 1 day?
> > > >
> > > > Evren
> > > >
> > > > On Thu, 5 Dec 2002, Alan Wong wrote:
> > > >
> > > > >
> > > > > >> I need your advice regarding the password. I want to know how
to set
> > > the
> > > > > >> password to null after authentication.
> > > > >
> > > > > >  Huh?  Why would you want to do that?
> > > > >
> > > > > Because Im trying to set up a system where people can only use
there
> > > > > accounts only once.
> > > > >
> > > > > Alan
> > > > >
> > > > > -
> > > > > 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
> > >
> >
> >
> > -
> > 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