<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Disable internet access for particular user in Ubuntu</title>
	<atom:link href="http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ScoBe</title>
		<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/comment-page-1#comment-49150</link>
		<dc:creator>ScoBe</dc:creator>
		<pubDate>Thu, 23 Sep 2010 21:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html#comment-49150</guid>
		<description>Matthew,

Oddly, what you describe doesn&#039;t work in recent versions of Ubuntu (tried here in 10.4 and 10.10beta).  That privileges GUI you mention only puts users in or removes them from the appropriate groups.  But Gnome&#039;s Network Manager doesn&#039;t make decisions (anymore) based on these groups, but rather on the basis of PolicyKit, for which there is currently no GUI.  It&#039;s a (reported) bug.  Your process does remove the connection, but it doesn&#039;t remove the ability of the user to set it up again.  Tell me if you found differently.</description>
		<content:encoded><![CDATA[<p>Matthew,</p>
<p>Oddly, what you describe doesn&#8217;t work in recent versions of Ubuntu (tried here in 10.4 and 10.10beta).  That privileges GUI you mention only puts users in or removes them from the appropriate groups.  But Gnome&#8217;s Network Manager doesn&#8217;t make decisions (anymore) based on these groups, but rather on the basis of PolicyKit, for which there is currently no GUI.  It&#8217;s a (reported) bug.  Your process does remove the connection, but it doesn&#8217;t remove the ability of the user to set it up again.  Tell me if you found differently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/comment-page-1#comment-12061</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 14 Aug 2009 14:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html#comment-12061</guid>
		<description>I followed the original instructions and it worked perfectly. Suddenly, it stopped working. Only change is a LinkStation NAS box added to the network. Interfaces file is unchanged, terminal command works for that session only. Any suggestions?</description>
		<content:encoded><![CDATA[<p>I followed the original instructions and it worked perfectly. Suddenly, it stopped working. Only change is a LinkStation NAS box added to the network. Interfaces file is unchanged, terminal command works for that session only. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/comment-page-1#comment-9896</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html#comment-9896</guid>
		<description>Try the following:

Create a new user (desktop-user).

Under user privileges, make sure that access to the ethernet/wireless/modem are disabled.

Open network connections and select the connections that show. Click properties, and uncheck &#039;available to all users&#039;.

Log off, then log on to the user in question. They shouldn&#039;t be able to connect.

Note: this disables all LAN connections.</description>
		<content:encoded><![CDATA[<p>Try the following:</p>
<p>Create a new user (desktop-user).</p>
<p>Under user privileges, make sure that access to the ethernet/wireless/modem are disabled.</p>
<p>Open network connections and select the connections that show. Click properties, and uncheck &#8216;available to all users&#8217;.</p>
<p>Log off, then log on to the user in question. They shouldn&#8217;t be able to connect.</p>
<p>Note: this disables all LAN connections.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CS</title>
		<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/comment-page-1#comment-5496</link>
		<dc:creator>CS</dc:creator>
		<pubDate>Sun, 18 Jan 2009 00:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html#comment-5496</guid>
		<description>This does not work. I get an error when I try these instructions. I put the lines in the interfaces file replacing USERNAME with the name of the user I want blocked. Then when I try the terminal command, I get:
sudo: unable to resolve host  daddy-desktop
iptables v1.4.0: Bad OWNER UID value &#039;-owner&#039;

So instead of having the -owner I took that parameter out, and still get the unable to resolve host message.</description>
		<content:encoded><![CDATA[<p>This does not work. I get an error when I try these instructions. I put the lines in the interfaces file replacing USERNAME with the name of the user I want blocked. Then when I try the terminal command, I get:<br />
sudo: unable to resolve host  daddy-desktop<br />
iptables v1.4.0: Bad OWNER UID value &#8216;-owner&#8217;</p>
<p>So instead of having the -owner I took that parameter out, and still get the unable to resolve host message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jj</title>
		<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/comment-page-1#comment-2578</link>
		<dc:creator>jj</dc:creator>
		<pubDate>Mon, 14 Jan 2008 05:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html#comment-2578</guid>
		<description>Would you add:

pre-up iptables -A OUTPUT -p tcp -m owner --uid-owner username -j ACCEPT

or just delete the original /etc/network/interfaces statement?

What&#039;s pre-up do? Couldn&#039;t find anything on it in Google.

As of yet, I haven&#039;t been successful in getting your original DROP statement to work--and I did change the username variable.

Note: You could also disable the user&#039;s browser permissions but this would have the negative effect of disallowing user access to locally saved web pages. You could also disallow user access to the Internet via the PC firewall such as Firestarter /etc/host/deny for outbound traffic, or at a gateway firewall if the user account was on it&#039;s own PC.</description>
		<content:encoded><![CDATA[<p>Would you add:</p>
<p>pre-up iptables -A OUTPUT -p tcp -m owner --uid-owner username -j ACCEPT</p>
<p>or just delete the original /etc/network/interfaces statement?</p>
<p>What&#8217;s pre-up do? Couldn&#8217;t find anything on it in Google.</p>
<p>As of yet, I haven&#8217;t been successful in getting your original DROP statement to work--and I did change the username variable.</p>
<p>Note: You could also disable the user&#8217;s browser permissions but this would have the negative effect of disallowing user access to locally saved web pages. You could also disallow user access to the Internet via the PC firewall such as Firestarter /etc/host/deny for outbound traffic, or at a gateway firewall if the user account was on it&#8217;s own PC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jj</title>
		<link>http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html/comment-page-1#comment-2577</link>
		<dc:creator>jj</dc:creator>
		<pubDate>Thu, 10 Jan 2008 17:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/disable-internet-access-for-particular-user-in-ubuntu.html#comment-2577</guid>
		<description>How would you turn it on again?</description>
		<content:encoded><![CDATA[<p>How would you turn it on again?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

