Re: how to block internet access for particular user on FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you use iptables remember to use the iptables-save to keep your changes when you are happy it works.
if your changes do not do as expected you can use iptables -F to flush them out of memory.
When you are happy it works use either ntsysv to make sure iptables always starts from boot up
or use chkconfig --levels 345 iptables on

On 26/06/06, gb spam <gbofspam@xxxxxxxxx> wrote:
On 6/26/06, peter kostov <fedora@xxxxxxxxxxxx> wrote:
> Hi, I use FC3 and want to disable internet  access for a certain user.
> How should I do that?

This would be a good place to start:

    iptables -D OUTPUT -m owner --uid-owner ??? --jump DROP

replace ??? with the user id (as opposed to the user name) of the target user.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux