Closed MmdrezaRP closed 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?
crontab
Use anylink
is there any English tutorial for anylink?
no
See this: https://github.com/mmtaee/ocserv-users-management
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?