remove pppoe user with matched realm.

Hi,

i got 3 group of user with:
group 1: xxxxxxx @admin.com
group 2: xxxxxxx @client.com
group 3: xxxxxxx @visitor.com

How can i run the script to remove all user ending with @admin.com ?
i cannot find any detail for it, this script will put inside my scheduler.

please explain better, what you mean for realm? @xxx.xx after the username?

the user must be disconnected or
removed from where? user-manager? internal ppp secret?

explain better

example i got 30 user..

  1. xxxx@admin.com
  2. xxaa@admin.com
  3. hhxx@admin.com and so on...

i want the script run on ppp active remove [find ???]

Ok… well explained… :laughing:


/ppp active remove [find where name~"@admin.com"]

Thanks and appreciated