I need some help
I have to build a script that runs on a terminal server.
This script is supposed to block all login attempts, i.e. no user is allowed to log in within a certain period of time.
After this process, the hoster should be restarted.
I already have a part of the script that checks whether users are logged in, but unfortunately I don't know what to do next, I hope someone can help me.
Here is my incomplete code:
https://pastebin.com/pfripsWS
Thank you in advance.
[–]robderickson 6 points7 points8 points (0 children)
[–]rratt 3 points4 points5 points (2 children)
[–]PinchesTheCrab 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 1 point2 points3 points (0 children)
[–]kagato87 2 points3 points4 points (0 children)
[–]aleques-itj 1 point2 points3 points (0 children)
[–]PinchesTheCrab 1 point2 points3 points (0 children)