sfc9982 / AnyConnect-Server

Installation Script for Cisco AnyConnect
MIT License
98 stars 38 forks source link

scheduled expiration #15

Closed MmdrezaRP closed 1 year ago

MmdrezaRP commented 1 year ago

sudo sed -i '/test2/ s/\$/!/' /etc/ocserv/ocpasswd && echo "test2 is disabled" >> /etc/ocserv/changeslog.text

i'm using this command to disable user automatically in crontab any better idea?

sfc9982 commented 1 year ago

Use anylink

MmdrezaRP commented 1 year ago

is there any English tutorial for anylink?

sfc9982 commented 1 year ago

no

sfc9982 commented 1 year ago

See this: https://github.com/mmtaee/ocserv-users-management