Created
December 28, 2024 22:25
-
-
Save Pelirrojo/526153c7b9ac045add15f5b343fa7855 to your computer and use it in GitHub Desktop.
Kids restrictions on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://snapcraft.io/install/snap-store/ubuntu --------------------------------- | |
sudo apt update | |
sudo apt install snapd | |
sudo snap install snap-store | |
# https://www.baeldung.com/linux/limit-user-computer-time ------------------------- | |
sudo add-apt-repository ppa:mjasnik/ppa | |
sudo apt update | |
sudo apt install timekpr-next | |
sudo gpasswd -a $USER timekpr | |
Adding user 'username' to group timekpr | |
timekpra | |
sudo timekpra --setalloweddays <USER> '1;2;3;4;5;6;7' | |
sudo timekpra --settimelimits <USER> '1800;1800;1800;1800;1800;3600;3600' | |
sudo timekpra --settimelimitweek <USER> '117000' | |
# https://smallbusiness.chron.com/block-adult-sites-firefox-63943.html ------------ | |
# firefox => procon | |
# --------------------------------------------------------------------------------- | |
# https://linuxconfig.org/quick-guide-to-enabling-ssh-on-ubuntu-24-04 ------------- | |
sudo apt install ssh | |
sudo systemctl enable ssh | |
sudo systemctl status ssh | |
sudo ufw allow ssh | |
sudo ufw enable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment