how to deactivate and activate an user using accel-cmd

PPPoE related questions
Post Reply
psr
Posts: 31
Joined: 07 Dec 2014, 06:37

how to deactivate and activate an user using accel-cmd

Post by psr »

Hi ,

how can I deactivate and activate an user who is active, using accel-cmd
Can somebody please help me or point me to some readme because accel-cmd man page does explain about cmds.

Thanks.
psr
User avatar
Абрамчук Вадим
Posts: 75
Joined: 21 Oct 2014, 20:15

Re: how to deactivate and activate an user using accel-cmd

Post by Абрамчук Вадим »

This is related to RADIUS server, not accel-ppp itself.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: how to deactivate and activate an user using accel-cmd

Post by Dmitry »

psr wrote:how can I deactivate and activate an user who is active
what do you mean activate and deactivate user ?
using accel-cmd you can terminate session (disconnect user)
to get help about available commands execute accel-cmd help
psr
Posts: 31
Joined: 07 Dec 2014, 06:37

Re: how to deactivate and activate an user using accel-cmd

Post by psr »

Hi thanks for your reply,

activate means: if an user has got an ip address then I user is activate.

I am trying to do.
I am not using radius server
I am using chap-secretes file like
*********CHAP FILE**********
user0 * user0 192.68.52.10
*********CHAP FILE**********
1) I want to terminate soft/hard (id not know which one) "user0" .
2) if "user0" tries to connect once aging after termination (using accel-cmd "terminate username user0 soft/hard ")
user0 must able to establish/get ip once again.
3) i will trminate user0 by removing entry in chap-secrets file then user0 should not be able to connect.

This is what I am trying to do if you have any a way can you please suggest(I am not using radius server).

Thanks for your help.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: how to deactivate and activate an user using accel-cmd

Post by Dmitry »

use accel-cmd teminate username user0
psr
Posts: 31
Joined: 07 Dec 2014, 06:37

Re: how to deactivate and activate an user using accel-cmd

Post by psr »

Thanks for the reply ,
I will try that.
psr
Posts: 31
Joined: 07 Dec 2014, 06:37

Re: how to deactivate and activate an user using accel-cmd

Post by psr »

That is working thanks for your help.
Post Reply