|
|
Use: CTparental {-i }|{ -u }|{ -dl }|{ -ubl }|{ -rl }|{ -on }|{ -off }|{ -cble }|{ -dble }
|
|
|
|
|
|
|{ -tlo }|{ -tlu }|{ -uhtml }|{ -aupon }|{ -aupoff }|{ -aup }
|
|
|
|
|
|
-i => Install parental controls on the computer (desktop PC). Can be used with
|
|
|
|
|
|
an additional parameter to specify a source path for the redirection page.
|
|
|
|
|
|
example: CTparental -dirhtml -i /home/toto/html/
|
|
|
|
|
|
if no option a page by default is used.
|
|
|
|
|
|
-u => uninstall the Parental Control Computer (desktop PC)
|
|
|
|
|
|
-dl => updates parental control from the blacklist of the University of Toulouse
|
|
|
|
|
|
-ubl => What to do after each change of the file /etc/CTparental/blacklist-local.conf
|
|
|
|
|
|
-rl => What to do after each change of the file /etc/CTparental/domaine-rehabiliter.conf
|
|
|
|
|
|
-on => Enable parental control
|
|
|
|
|
|
-off => Disable parental controls
|
|
|
|
|
|
-cble => Set the filter mode by whitelist or blacklist (default)
|
|
|
|
|
|
and the categories that you want to activate.
|
|
|
|
|
|
-dble => Resets the default active categories and blacklist filtering.
|
|
|
|
|
|
-tlo => Enable and configure the login time restrictions for users.
|
|
|
|
|
|
-tlu => Disable the login time restrictions for users.
|
|
|
|
|
|
-uhtml => updates the redirect page from a source directory or default.
|
|
|
|
|
|
examples:
|
|
|
|
|
|
- With a source directory: CTparental -uhtml -dirhtml /home/toto/html/
|
|
|
|
|
|
- Default: CTparental -uhtml
|
|
|
|
|
|
also lets you change the login couple password of the web interface.
|
|
|
|
|
|
-aupon => Enable the automatic update of the blacklist of Toulouse (every 7 days).
|
|
|
|
|
|
-aupoff => Disable the automatic update of the blacklist of Toulouse.
|
|
|
|
|
|
-aup => as -dl but only if there is no update for more than 7 days.
|
|
|
|
|
|
-nodep => if placed after -i or -u allows not install / uninstall the dependencies useful if
|
|
|
|
|
|
we prefer to install them by hand, or for the postinst and prerm script of deb.
|
|
|
|
|
|
examples:
|
|
|
|
|
|
CTparental -i -nodep
|
|
|
|
|
|
CTparental -dirhtml -i /home/toto/html/ -nodep
|
|
|
|
|
|
CTparental -u -nodep
|
|
|
|
|
|
-nomanuel => used only for the postinst and prerm script.
|
|
|
|
|
|
-gcton => Enable privileged group.
|
|
|
|
|
|
exemples:
|
|
|
|
|
|
CTparental -gctulist
|
|
|
|
|
|
Comment all users that you want to filter in /etc/CTparental/GCToff.conf
|
|
|
|
|
|
CTparental -gctalist
|
|
|
|
|
|
-gctoff => Disable privileged group.
|
|
|
|
|
|
all users of the system undergo the filtering !!
|
|
|
|
|
|
-gctalist => Add / delete users in the ctoff group based on the config file , /etc/CTparental/GCToff.conf
|
|
|
|
|
|
-ipton => Enable rules of custom firewall.
|
|
|
|
|
|
-iptoff => Disable rules of custom firewall.
|
|
|
|
|
|
-grubPon => Enable the superuser of grub2.
|
|
|
|
|
|
-grubPoff => Disable the superuser of grub2.
|
|
|
|
|
|
-pfoff => Disable default rules privoxy.
|
|
|
|
|
|
-pfon => Enable default rules privoxy. (default is Enable)
|
|
|
|