Blocking an account from accessing the internet.
Is there an effective way of blocking a particular user account from using the internet/network/network interfaces on a Linux machine?
|
Hi!
With "iptables" you should be able to do it, maybe adding a rule like Code:
iptables -A OUTPUT -p all -m --uid-owner UID -j DROP althought there must be easier ways to do it. (without iptables) ;) Regards |
... you also could use "--gid-owner", instead of "--uid-owner"; then, you could use it to block all but the users in the network group from getting out onto the Internet.
Regards |
All times are GMT -5. The time now is 10:09 PM. |