RedHat
What do you really want to disconnect? Is it Server Profile, User Profile or user? Disabling a user profile will not disable the users. How are you authenticating your users? Is it by usermananager, PPPoE, Hotspot or external radius server? Please paint a clearer picture of your setup to get quality reply.
dear skillfull
i want to create sperated profile for spicific users which that make users able to login at 12:00 am and logout theme at 8:00 AM - TOLARENCE TIME FOR USING INTERNET - .. i dont want disable the profile .. i want prevent spicific user login out of the time i told above .
what is the script that make this operation ?
by the way .. i have another profiles work 24/24 in same hotspot
-
Place all the 12.00am to 8.00am users in same profile. For the purpose of this write, I will call the profile “12-8”.
-
Make a scheduler to run at “00:00:00” and interval “1d 00:00:00”, the copy and paste this codes into the “On Event”:
/ip hotspot user en [find
profile=“12-8”]
- Make another scheduler to run at “08:00:00” and interval “1d 00:00:00”, the copy and paste this codes into the “On Event”:
/ip hotspot user disable [find
profile=“12-8”]
:delay 5
:foreach i in=[/ip hotspot user find disabled=yes] do={/ip hotspot active remove [find user=[/ip hotspot user get $i name]]}
You can now go to sleep while the router does all the work!