|
> Use: CTparental {-i }|{ -u }|{ -dl }|{ -ubl }|{ -rl }|{ -on }|{ -off }|{ -cble }|{ -dble } |{ -tlo }|{ -tlu }|{ -uhtml }|{ -aupon }|{ -aupoff }|{ -aup }
|
|
Use: CTparental {-i }|{ -u }|{ -dl }|{ -ubl }|{ -rl }|{ -on }|{ -off }|{ -cble }|{ -dble } |{ -tlo }|{ -tlu }|{ -uhtml }|{ -aupon }|{ -aupoff }|{ -aup }
|
|
>
|
|
|
|
> -i => Install parental control on the computer (desktop PC). Can be used with
|
|
-i => Install parental control on the computer (desktop PC). Can be used with
|
|
>
|
|
|
|
> an additional parameter to specify a source path for the redirection page.
|
|
an additional parameter to specify a source path for the redirection page.
|
|
>
|
|
|
|
> example: CTparental -dirhtml -i /home/toto/html/
|
|
example: CTparental -dirhtml -i /home/toto/html/
|
|
>
|
|
|
|
> if no option a default page is used.
|
|
if no option a default page is used.
|
|
>
|
|
|
|
> -u => uninstall the Parental Control Computer (desktop PC)
|
|
-u => uninstall the Parental Control Computer (desktop PC)
|
|
>
|
|
|
|
> -dl => updates parental control from the blacklist of the University of Toulouse
|
|
-dl => updates parental control from the blacklist of the University of Toulouse
|
|
>
|
|
|
|
> -ubl => To be done after each change of the file /etc/CTparental/blacklist-local.conf
|
|
-ubl => To be done after each change of the file /etc/CTparental/blacklist-local.conf
|
|
>
|
|
|
|
> -rl => To be done after each change of the file /etc/CTparental/domaine-rehabiliter.conf
|
|
-rl => To be done after each change of the file /etc/CTparental/domaine-rehabiliter.conf
|
|
>
|
|
|
|
> -on => Enable parental control
|
|
-on => Enable parental control
|
|
>
|
|
|
|
> -off => Disable parental control
|
|
-off => Disable parental control
|
|
>
|
|
|
|
> -cble => Set the filter mode by whitelist or blacklist (default)
|
|
-cble => Set the filter mode by whitelist or blacklist (default)
|
|
>
|
|
|
|
> and the categories that you want to activate.
|
|
and the categories that you want to activate.
|
|
>
|
|
|
|
> -dble => Reset the default active categories and blacklist filtering.
|
|
-dble => Reset the default active categories and blacklist filtering.
|
|
>
|
|
|
|
> -tlo => Enable and configure the login time restrictions for users.
|
|
-tlo => Enable and configure the login time restrictions for users.
|
|
>
|
|
|
|
> -tlu => Disable 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.
|
|
-uhtml => updates the redirect page from a source directory or default.
|
|
>
|
|
|
|
> examples:
|
|
examples:
|
|
>
|
|
|
|
> - With a source directory: CTparental -uhtml -dirhtml /home/toto/html/
|
|
- With a source directory: CTparental -uhtml -dirhtml /home/toto/html/
|
|
>
|
|
|
|
> - Default: CTparental -uhtml
|
|
- Default: CTparental -uhtml
|
|
>
|
|
|
|
> also lets you change the login couple password of the web interface.
|
|
also lets you change the login couple password of the web interface.
|
|
>
|
|
|
|
> -aupon => Enable the automatic update of the Toulouse blacklist (every 7 days).
|
|
-aupon => Enable the automatic update of the Toulouse blacklist (every 7 days).
|
|
>
|
|
|
|
> -aupoff => Disable the automatic update of the Toulouse blacklist.
|
|
-aupoff => Disable the automatic update of the Toulouse blacklist.
|
|
>
|
|
|
|
> -aup => as -dl but only if there is no update for more than 7 days.
|
|
-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
|
|
-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.
|
|
we prefer to install them by hand, or for the postinst and prerm script of deb.
|
|
>
|
|
|
|
> examples:
|
|
examples:
|
|
>
|
|
|
|
> CTparental -i -nodep
|
|
CTparental -i -nodep
|
|
>
|
|
|
|
> CTparental -dirhtml -i /home/toto/html/ -nodep
|
|
CTparental -dirhtml -i /home/toto/html/ -nodep
|
|
>
|
|
|
|
> CTparental -u -nodep
|
|
CTparental -u -nodep
|
|
>
|
|
|
|
> -nomanuel => used only for the postinst and prerm script.
|
|
-nomanuel => used only for the postinst and prerm script.
|
|
>
|
|
|
|
> -gcton => Enable a group of privileged user that will not undergo filtering.
|
|
-gcton => Enable a group of privileged user that will not undergo filtering.
|
|
>
|
|
|
|
> exemples:
|
|
exemples:
|
|
>
|
|
|
|
> CTparental -gctulist
|
|
CTparental -gctulist
|
|
>
|
|
|
|
> Comment all users that you want to filter in /etc/CTparental/GCToff.conf
|
|
Comment all users that you want to filter in /etc/CTparental/GCToff.conf
|
|
>
|
|
|
|
> CTparental -gctalist
|
|
CTparental -gctalist
|
|
>
|
|
|
|
> -gctoff => Disable privileged group.
|
|
-gctoff => Disable privileged group.
|
|
>
|
|
|
|
> all users of the system undergo the filtering!
|
|
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
|
|
-gctalist => Add / Delete users in the ctoff group based on the config file, /etc/CTparental/GCToff.conf
|
|
>
|
|
|
|
> -ipton => Enable rules of custom firewall.
|
|
-ipton => Enable rules of custom firewall.
|
|
>
|
|
|
|
> -iptoff => Disable rules of custom firewall.
|
|
-iptoff => Disable rules of custom firewall.
|
|
>
|
|
|
|
> -grubPon => Enable the superuser of grub2.
|
|
-grubPon => Enable the superuser of grub2.
|
|
>
|
|
|
|
> -grubPoff => Disable the superuser of grub2.
|
|
-grubPoff => Disable the superuser of grub2.
|
|
>
|
|
|
|
> -pfoff => Disable default rules privoxy.
|
|
-pfoff => Disable default rules privoxy.
|
|
>
|
|
|
|
> -pfon => Enable default rules privoxy. (default is Enable)
|
|
-pfon => Enable default rules privoxy. (default is Enable)
|
|
>
|
|
|
|
> -ron => Enable redirect page.
|
|
-ron => Enable redirect page.
|
|
>
|
|
|
|
> -roff => Disabled redirect page.
|
|
-roff => Disabled redirect page.
|
|
>
|
|
|
|
> -exp => Export configuration.
|
|
-exp => Export configuration.
|
|
>
|
|
|
|
> exemple:
|
|
exemple:
|
|
>
|
|
|
|
> CTparental -exp /home/myhomedir/
|
|
CTparental -exp /home/myhomedir/
|
|
>
|
|
|
|
> -imp => Import a configuration.
|
|
-imp => Import a configuration.
|
|
>
|
|
|
|
> exemple:
|
|
exemple:
|
|
>
|
|
|
|
> CTparental -imp /home/myhomedir/CTparental.conf.yy.mm.dd.tar.gz
|
|
CTparental -imp /home/myhomedir/CTparental.conf.yy.mm.dd.tar.gz
|
|
>
|
|
|
|
> -logqueryon => For debugging only.
|
|
-logqueryon => For debugging only.
|
|
>
|
|
|
|
> Enabling dnsmasq query log in the /var/log/dnsmasq.query.log file.
|
|
Enabling dnsmasq query log in the /var/log/dnsmasq.query.log file.
|
|
>
|
|
|
|
> -logqueryoff => To disable dnsmasq query log in /var/log/dnsmasq.query.log . |
|
-logqueryoff => To disable dnsmasq query log in /var/log/dnsmasq.query.log . |