Is possible web filter for self-control?

AndrzejB

New Member
Joined
May 24, 2021
Messages
8
Reaction score
0
Credits
74
is possible filtering out adult content in Linux like Adult Block on Android or Qustodio or Kasperksy for Windows?
In Linux super user has all privileges. Is possible configure or make distro, where user with increased privileges can install programs in /usr/bin like mysql or compilers but can't uninstall blocker without other special password or reinstall system?
 


craigevil

Well-Known Member
Joined
Feb 24, 2021
Messages
273
Reaction score
274
Credits
1,879
Take a look at Opendns Familyshield, and the malcontent app.
 
OP
A

AndrzejB

New Member
Joined
May 24, 2021
Messages
8
Reaction score
0
Credits
74
1. Opendns Familyshield is Ok but in normal window; in private window porno still. I want remove private window browsing at all
2. How works malcontent? where is good description?
 

craigevil

Well-Known Member
Joined
Feb 24, 2021
Messages
273
Reaction score
274
Credits
1,879

Description: framework for parental control of applications
malcontent implements support for restricting the type of content accessible
to non-administrator accounts on a Linux system. Typically, when this is used,
a non-administrator account will be for a child using the system; and the
administrator accounts will be for the parents; and the content being filtered
will be apps which are not suitable for the child to use, due to (for example)
being too violent.
.
This is not a security boundary, and a sufficiently technically advanced user
may always work around these parental controls. malcontent is not a mandatory
access control (MAC) system like AppArmor or SELinux. However, its correct use
by applications should provide enough of an obstacle to prevent users easily or
accidentally having access to content which they shouldn’t.
 
OP
A

AndrzejB

New Member
Joined
May 24, 2021
Messages
8
Reaction score
0
Credits
74
Usually in Mint, installer creates main user who has administrator privileges.
Here this user must be "parent" and need second user with decreased privileges?
New behaviour: using second user whole time. How this user can install something away of $HOME? We must forget about "sudo"?
Blocking private browsing: in /opt/firefox (for Debbie) we create "distribution" folder and policies.json file. This file:

Code:
{
  "policies": {
    "DisablePrivateBrowsing": true
  }
}
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,876
Reaction score
2,617
Credits
28,004
Since you have root/admin rights to your own computer there is not much use for placing a web filter because you will have access to remove or disable it yourself when you do get curious.
 
OP
A

AndrzejB

New Member
Joined
May 24, 2021
Messages
8
Reaction score
0
Credits
74
Is possible give to non-administrative user fine grained privileges, user can near-normally work, including installing and uninstalling with apt, except not uninstall and change parental control?
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,876
Reaction score
2,617
Credits
28,004
You can give users sudo access to specific commands such as apt and other commands they might need.
 
OP
A

AndrzejB

New Member
Joined
May 24, 2021
Messages
8
Reaction score
0
Credits
74
Debbie installer created user andrzej, which add user andrzejek with admin privileges and standard andrzejek2.
Code:
$ groups andrzej
andrzej : andrzej adm dialout fax cdrom floppy tape sudo audio dip video plugdev users netdev lpadmin bluetooth scanner

Code:
$ groups andrzejek
andrzejek : andrzejek sudo

Code:
$ groups andrzejek2
andrzejek2 : andrzejek2

Although andrzejek and andrzejek2 not belong to any group, except its own and sudo, they can change wifi settings by cinnamon gui.
Parent user - andrzej set wifi options IPv4 Settings to method Automatic (DHCP) addreses only with DNS servers 208.67.222.123, 208.67.220.123 (family shield)
User andrzej don't want other users can change or remove these DNS server IP. How do it?
Although andrzejek is administrator, can be restricted by sudoers file?
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,876
Reaction score
2,617
Credits
28,004
The other option would be to do it on dns level and configure a dns provider in your router and have dhcp automatically assign all the clients with those dns servers. It would save you from having to make it complicated configurations on the systems you want to have use the filtering because I suspect you are the only one that has access to the router configuration.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top