Combining pam_time from the question I mentioned with a cron job that runs periodically on sundays should accomplish what you want.
The cron job enumerates logged in users with a terminal (with who) and with an uid >= 1000 and calls pkill -HUP -u <user>. Might be a little more complicated with X sessions.
This approach is problematic though - we ...
A couple things to note:
That KB article says to login to the control station, which is an entirely different box than the one that uses the ip 18.104.22.168. The control station is the small box, it has a vga port on the back. I had to use a PS2 keyboard and grub commands to start it in single-user mode to reset the nasadmin password.
The box that DOES use ...
In my case my Windows 7 laptop was part of a domain controller & netlogin service was also working , the domain controller was dead, and i was getting same error , i removed the windows 7 laptop from doamin & join to workgroup. then rebooted , now RDP was working.
I was also facing this issue because of my organization's firewall. Solution is to simply download and install the organization's certs.
Once you have your organization's specific ".cer" file then convert that file to ".pem" using
openssl x509 -inform der -in orgCertFile.cer -out certificate.pem
Next, set following variable either as ...
Maybe have a look at using something like yubikey for smart card login for users "passwordless":
This isn't exactly what you asked for and it's not free either but it may be a usable solution for you. As already answered, altering the login screen isn't ...