TGViewer
Linux - Reddit Linux - Reddit @r_linux · 1.08K subscribers
Post #41984 56
I built a zero-config, 2FA-secured Screen Time Manager for Linux

Hey guys!

So now that almost all games run pretty much perfectly on Linux, thanks to the incredible progress with Steam/Proton and the Heroic Launcher, our family finally made the jump. We shifted our main gaming rig from Windows to Linux (running Linux Mint for now) and haven't looked back.

However, I quickly ran into a major issue: the lack of robust parental controls. Most existing tools are either abandoned or incredibly easy for a clever kid to bypass by just changing the BIOS clock. I missed the "set it and forget it" nature of Microsoft Family Safety, so I decided to build a Linux-native alternative.

Meet Linux Family Time Manager.

It’s an open-source, system-level solution designed to give parents airtight control over login windows and active sessions without the "jank."

Main Features:

* Airtight PAM Enforcement: It hooks directly into pam_exec.so. It doesn't just "lock" the screen; it blocks the login at the system level before the desktop environment even loads.
* 2FA Authorization: No more shared passwords. Every time extension or schedule change requires a 6-digit TOTP code from your phone (Google Authenticator, Authy, etc.).
* Active Session Sweeping: If the kids are mid-game when their time expires, a background daemon sends a desktop notification and then terminates the session via loginctl.
* Anti-Cheat Logic: It forces the GUI to wait for a verified Network Time Protocol (NTP) sync before allowing logins, preventing bypasses via hardware clock modification.
* Remote Web Dashboard: A mobile-friendly Flask web portal allows you to grant "+1 Hour" or "+15 Mins" bonus time instantly from your own phone/laptop.

It's built with Python, Flask, and shell scripts. Currently tested and working great on Linux Mint, Ubuntu, Debian, and Arch.

Check it out here: https://github.com/ibnYusrat/linux-user-time-manager

I'd love to hear your feedback, especially from other parents who have made the switch to Linux gaming!



https://redd.it/1tm98jf
@r_linux
GitHub GitHub - ibnYusrat/linux-user-time-manager: A time manager to restrict users from logging in outside of allowed hours A time manager to restrict users from logging in outside of allowed hours - ibnYusrat/linux-user-time-manager
More from @r_linux
  1. Oct 13, 2026These are the kind of reactions I get when I recommend Anubis to deal with bots at work, w…
  2. Oct 13, 2026This was an Official Sony Product https://youtu.be/_2i-dhRl9wo?si=Q6XsurFVahraQJyV https:/…
  3. Oct 13, 2026Linux on iPhone11 https://www.patreon.com/partshacker/posts/linux-boots-on-172091834 https…
  4. Oct 13, 2026Very new to Linux, but I found And reported my first bug! https://redd.it/1x4lzuz @r_linux
  5. Oct 13, 2026Ubuntu 27.04 will be called Tenacious T-Rex https://discourse.ubuntu.com/t/guess-the-relea…
  6. Oct 13, 2026I just made something to make my Win/Linux dual-boot smoother. https://redd.it/1x4jttt @r_…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →