Just a simple systemd unit to log off the kids at 22:00 until 06:30
Shell
32
3 commits
updated Sep 13, 2026
The following script was written to log out the kids at night
run the following to install the service:
chmod +x ./install.sh
sudo ./install.sh
Reload systemd to recognize the new files, then enable and start the timer:
sudo systemctl daemon-reload
sudo systemctl enable --now user-access@USERNAME.timer
sudo systemctl status user-access@USERNAME.timer
sudo systemctl start user-access.service
sudo passwd -S user
(A status of L indicates locked, P indicates usable password).
3 commits
Shell
100.0%
Just a simple systemd unit to log off the kids at 22:00 until 06:30
Shell
32
3 commits
updated Sep 13, 2026
The following script was written to log out the kids at night
run the following to install the service:
chmod +x ./install.sh
sudo ./install.sh
Reload systemd to recognize the new files, then enable and start the timer:
sudo systemctl daemon-reload
sudo systemctl enable --now user-access@USERNAME.timer
sudo systemctl status user-access@USERNAME.timer
sudo systemctl start user-access.service
sudo passwd -S user
(A status of L indicates locked, P indicates usable password).
3 commits
Shell
100.0%