<?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: The Free World: Day to Day Operations as Root.</title>
	<atom:link href="http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/</link>
	<description>Linux Tips - Information for Using Linux</description>
	<lastBuildDate>Thu, 26 Nov 2009 21:39:06 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JF</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-395</link>
		<dc:creator>JF</dc:creator>
		<pubDate>Thu, 16 Feb 2006 23:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-395</guid>
		<description>In fact, I don&#039;t really see the real advantage and what is so easy when you run as root.

It&#039;s not to beginners to &quot;dictate&quot; how computering and why early computering scientist have designed the system this way.ue and can go to any workstation without a difference. I mean that those users who ask for root permission (I don&#039;t really know why) should have worked a little bit in a administrated company. And they should have estimate how many times administrators lost there time for these people who install forbidden software.

Running as root would be really dangerous in the case of the program is not well written. Running as root and even looking a jpeg would be more dangerous. There was a security breach in jpeg some times ago... Running as root and even a crafted URL or website could be dangerous... If you don&#039;t run as root, you&#039;ll be happy if your kid goes on this URL and YOU don&#039;t loose your data.

Also with all this system you&#039;re absolutly sure that an update will work (on good distro) and that your system will be patched exactly the way it should. Think about problem of SP2... Why? Because you didn&#039;t have any way to mess up this OS!

Running as root would be dangerous in most enterprise config when using NFS for example. On a real network, each user is unique.

For teh example about the clock time setting. Changing the clock will change the clock for any user that are working on the system, so this clock is not only for you, but also for any users logged on the system. And on Linux, there&#039;re plenty of virtual users which launch process in the backgroud. All those processes could be disturb while changing the date. Also, setting the good time on a computer is not a day to day action. And this example is not a good example at all, because the date is set by the network on current distribution. There&#039;s only Windows which doesn&#039;t set it directly out of the box. Why? Because the time is not set to GMT... It&#039;s exactly a demo why the begginer should not interfere with the choices made by computering engeneers... When you receive mail outdated on your box, they doesn&#039;t sort correctly. So, the computers HAVE to be on time, and it&#039;s not to the user to change the time.

Also, for the program which are really usefull for day to day use, there&#039;s the SUID bit. Also, on Ubuntu/OSXTiger, this root user doesn&#039;t even exist and the user is asked his own password... So he doesn&#039;t even now that there&#039;s a root user! It&#039;s just a question of PAM configuration.

So, please see pam and sudo and you&#039;ll see how running as a privileged user is really cool! When you&#039;re asked for your password : you can ask yourself : &quot;Am I dooing something wrong?&quot; &quot;Did I made an error&quot;... Have a look at Ubuntu (I&#039;m sure there are other distrib that come with sudo confiigured but this one is very integrated) and see how security can meet ease of use...

Linux is different in design from Windows : You rarely have to download a program yourself, there&#039;re package management such as urpmi or dpkg to do that. If the user have to install a program himself or compile it, he&#039;ll know what he is doing... And he&#039;ll know why using a Linux day after day program as root is not allowed.

Running as root is like use your new home DVD player without the plastic protection... To sum up!

Linux is about security and stability. That&#039;s the big difference with windows : It&#039;s thought by all.
If Lindows no, Linspire,  is made with this kind of breach in security, I prefer Windows... Because at least after the fighting against spywares... I can play a lot of games in Windows! lol!</description>
		<content:encoded><![CDATA[<p>In fact, I don&#8217;t really see the real advantage and what is so easy when you run as root.</p>
<p>It&#8217;s not to beginners to &#8220;dictate&#8221; how computering and why early computering scientist have designed the system this way.ue and can go to any workstation without a difference. I mean that those users who ask for root permission (I don&#8217;t really know why) should have worked a little bit in a administrated company. And they should have estimate how many times administrators lost there time for these people who install forbidden software.</p>
<p>Running as root would be really dangerous in the case of the program is not well written. Running as root and even looking a jpeg would be more dangerous. There was a security breach in jpeg some times ago&#8230; Running as root and even a crafted URL or website could be dangerous&#8230; If you don&#8217;t run as root, you&#8217;ll be happy if your kid goes on this URL and YOU don&#8217;t loose your data.</p>
<p>Also with all this system you&#8217;re absolutly sure that an update will work (on good distro) and that your system will be patched exactly the way it should. Think about problem of SP2&#8230; Why? Because you didn&#8217;t have any way to mess up this OS!</p>
<p>Running as root would be dangerous in most enterprise config when using NFS for example. On a real network, each user is unique.</p>
<p>For teh example about the clock time setting. Changing the clock will change the clock for any user that are working on the system, so this clock is not only for you, but also for any users logged on the system. And on Linux, there&#8217;re plenty of virtual users which launch process in the backgroud. All those processes could be disturb while changing the date. Also, setting the good time on a computer is not a day to day action. And this example is not a good example at all, because the date is set by the network on current distribution. There&#8217;s only Windows which doesn&#8217;t set it directly out of the box. Why? Because the time is not set to GMT&#8230; It&#8217;s exactly a demo why the begginer should not interfere with the choices made by computering engeneers&#8230; When you receive mail outdated on your box, they doesn&#8217;t sort correctly. So, the computers HAVE to be on time, and it&#8217;s not to the user to change the time.</p>
<p>Also, for the program which are really usefull for day to day use, there&#8217;s the SUID bit. Also, on Ubuntu/OSXTiger, this root user doesn&#8217;t even exist and the user is asked his own password&#8230; So he doesn&#8217;t even now that there&#8217;s a root user! It&#8217;s just a question of PAM configuration.</p>
<p>So, please see pam and sudo and you&#8217;ll see how running as a privileged user is really cool! When you&#8217;re asked for your password : you can ask yourself : &#8220;Am I dooing something wrong?&#8221; &#8220;Did I made an error&#8221;&#8230; Have a look at Ubuntu (I&#8217;m sure there are other distrib that come with sudo confiigured but this one is very integrated) and see how security can meet ease of use&#8230;</p>
<p>Linux is different in design from Windows : You rarely have to download a program yourself, there&#8217;re package management such as urpmi or dpkg to do that. If the user have to install a program himself or compile it, he&#8217;ll know what he is doing&#8230; And he&#8217;ll know why using a Linux day after day program as root is not allowed.</p>
<p>Running as root is like use your new home DVD player without the plastic protection&#8230; To sum up!</p>
<p>Linux is about security and stability. That&#8217;s the big difference with windows : It&#8217;s thought by all.<br />
If Lindows no, Linspire,  is made with this kind of breach in security, I prefer Windows&#8230; Because at least after the fighting against spywares&#8230; I can play a lot of games in Windows! lol!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daveb</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-235</link>
		<dc:creator>daveb</dc:creator>
		<pubDate>Tue, 03 Jan 2006 16:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-235</guid>
		<description>Honestly, the most compelling reason for me to run my day-to-day tasks as a non-priviliged user is to limit my ability to screw things up. I&#039;ve only been using Linux-based operating systems for a little over a year, so in many cases, I&#039;m stumbling along or flying blind. I&#039;m thankful for any roadblocks to prevent or lessen my ability to shoot myself in the foot. Also, by using a non-priviliged account, when I do have to run as root, I don&#039;t do it flippantly.</description>
		<content:encoded><![CDATA[<p>Honestly, the most compelling reason for me to run my day-to-day tasks as a non-priviliged user is to limit my ability to screw things up. I&#8217;ve only been using Linux-based operating systems for a little over a year, so in many cases, I&#8217;m stumbling along or flying blind. I&#8217;m thankful for any roadblocks to prevent or lessen my ability to shoot myself in the foot. Also, by using a non-priviliged account, when I do have to run as root, I don&#8217;t do it flippantly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-175</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 09 Dec 2005 23:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-175</guid>
		<description>You&#039;re probably right. This is just all speculation on my part but it seems to me that many viruses propogate via tcpip connection. Therefore, I imagine that a virus looking to propogate will send itself to any ip address it can find and if the machine at that address happens to fit the bill, it will be able to install. 

Now, whether it will be able to execute enough in order to start the propogation is another story.

Pure speculation....</description>
		<content:encoded><![CDATA[<p>You&#8217;re probably right. This is just all speculation on my part but it seems to me that many viruses propogate via tcpip connection. Therefore, I imagine that a virus looking to propogate will send itself to any ip address it can find and if the machine at that address happens to fit the bill, it will be able to install. </p>
<p>Now, whether it will be able to execute enough in order to start the propogation is another story.</p>
<p>Pure speculation&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-174</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 09 Dec 2005 22:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-174</guid>
		<description>That&#039;s true, there are a number of ways to get viruses. Simply going to some websites will install a virus. I may be wrong, but for a linux computer to pass a virus to a windows computer, as mentioned by Mark Rais, I think that an email attachment is the primary threat. Other than that, maybe a tainted mp3 recording. Since most linux applications don&#039;t run on windows, what else would there be? If you know of others, please let me know.</description>
		<content:encoded><![CDATA[<p>That&#8217;s true, there are a number of ways to get viruses. Simply going to some websites will install a virus. I may be wrong, but for a linux computer to pass a virus to a windows computer, as mentioned by Mark Rais, I think that an email attachment is the primary threat. Other than that, maybe a tainted mp3 recording. Since most linux applications don&#8217;t run on windows, what else would there be? If you know of others, please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-173</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 09 Dec 2005 19:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-173</guid>
		<description>Hi Jeff,

There are lots of ways to pass viruses, email is just one of them. I&#039;m not even sure that it&#039;s accurate to say that &#039;most&#039; viruses are passed via email. Many worms and zombie applications spread through the network without using email.</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>There are lots of ways to pass viruses, email is just one of them. I&#8217;m not even sure that it&#8217;s accurate to say that &#8216;most&#8217; viruses are passed via email. Many worms and zombie applications spread through the network without using email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-172</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 09 Dec 2005 19:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-172</guid>
		<description>I think Ben hit the major benefits for running as a nonprivilaged user. The biggest risks of running as root is that a hacker could modify your computer without your knowledge. Spyware could be installed, rootkits, or the computer could be turned into a &quot;bot&quot; and be used in conjuction with other computers to make mass emailings or flood websites and shutting them down. 

You can run as a limited user in windows, making it very similar to using linux. By right clicking on a program, you will be prompted to enter a password and get administrator rights. However, windows defaults to administrator during the install process for ease of use.

As far as linux computers giving windows computers viruses, that is unlikely since most viruses are passed by opening suspicious emails. Why would a linux user pass a suspicious email to a windows user?</description>
		<content:encoded><![CDATA[<p>I think Ben hit the major benefits for running as a nonprivilaged user. The biggest risks of running as root is that a hacker could modify your computer without your knowledge. Spyware could be installed, rootkits, or the computer could be turned into a &#8220;bot&#8221; and be used in conjuction with other computers to make mass emailings or flood websites and shutting them down. </p>
<p>You can run as a limited user in windows, making it very similar to using linux. By right clicking on a program, you will be prompted to enter a password and get administrator rights. However, windows defaults to administrator during the install process for ease of use.</p>
<p>As far as linux computers giving windows computers viruses, that is unlikely since most viruses are passed by opening suspicious emails. Why would a linux user pass a suspicious email to a windows user?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-171</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 09 Dec 2005 15:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-171</guid>
		<description>Ben: Yup, all good points. The more I talk about this subject the more I think that perhaps everyone involved doesn&#039;t share the same definition of &#039;security&#039;. Some people (and this is where I fall into) feel that security goes much farther than simple protection of your data, it extends to ensuring that my machine isn&#039;t being used by others to cause problems on the network. Others feel that security simply means the safeguarding of your files.

In either case, you&#039;ve covered off both areas in your three points.

Oh, and technically I don&#039;t think Linspire actually tells people run as root. They just don&#039;t &#039;guide&#039; people to not do so.

Kyle: No, I think you&#039;re right. As I wrote above to Ben, I&#039;m concerned about more than just my data though.</description>
		<content:encoded><![CDATA[<p>Ben: Yup, all good points. The more I talk about this subject the more I think that perhaps everyone involved doesn&#8217;t share the same definition of &#8217;security&#8217;. Some people (and this is where I fall into) feel that security goes much farther than simple protection of your data, it extends to ensuring that my machine isn&#8217;t being used by others to cause problems on the network. Others feel that security simply means the safeguarding of your files.</p>
<p>In either case, you&#8217;ve covered off both areas in your three points.</p>
<p>Oh, and technically I don&#8217;t think Linspire actually tells people run as root. They just don&#8217;t &#8216;guide&#8217; people to not do so.</p>
<p>Kyle: No, I think you&#8217;re right. As I wrote above to Ben, I&#8217;m concerned about more than just my data though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-170</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Fri, 09 Dec 2005 14:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-170</guid>
		<description>Not to beat this horse more, but it seems to me that it is a lot easier to backup just your home folder than it is to backup the entire system.  I see what he&#039;s saying about the only valuable thing being your data, so who cares about the rest... but heck, you could log in as root once a week, make a copy of your data into the root directory and log back out.  That way there&#039;d be a backup of all your personal data right there on the drive that nobody could touch without root privledges.

Assuming my noobish understanding isn&#039;t failing me here.</description>
		<content:encoded><![CDATA[<p>Not to beat this horse more, but it seems to me that it is a lot easier to backup just your home folder than it is to backup the entire system.  I see what he&#8217;s saying about the only valuable thing being your data, so who cares about the rest&#8230; but heck, you could log in as root once a week, make a copy of your data into the root directory and log back out.  That way there&#8217;d be a backup of all your personal data right there on the drive that nobody could touch without root privledges.</p>
<p>Assuming my noobish understanding isn&#8217;t failing me here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-169</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 09 Dec 2005 13:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-169</guid>
		<description>Jon, OK I can think of a few good reasons .. logging in as a normal user will stop you from: 

 - deleting system files (accidently or not)
 - having software silently install on your PC without your knowledge
 - accidently change system settings that might cause instability

In each of these cases you would be prompted for the root password.

I think of it this way: If you have a PC in your family home which is logged in as a &#039;normal&#039; user, you can let your kids or little brother loose on it, and the worst they could do is mess up your desktop settings which should be easy enough to recover from. Would you leave it logged in as root (as Linspire say)? It could get trashed quite quickly!</description>
		<content:encoded><![CDATA[<p>Jon, OK I can think of a few good reasons .. logging in as a normal user will stop you from: </p>
<p> &#8211; deleting system files (accidently or not)<br />
 &#8211; having software silently install on your PC without your knowledge<br />
 &#8211; accidently change system settings that might cause instability</p>
<p>In each of these cases you would be prompted for the root password.</p>
<p>I think of it this way: If you have a PC in your family home which is logged in as a &#8216;normal&#8217; user, you can let your kids or little brother loose on it, and the worst they could do is mess up your desktop settings which should be easy enough to recover from. Would you leave it logged in as root (as Linspire say)? It could get trashed quite quickly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.everyjoe.com/newlinuxuser/the-free-world-day-to-day-operations-as-root/comment-page-1/#comment-168</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 09 Dec 2005 12:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/?p=122#comment-168</guid>
		<description>Hi Ben,

True, it does go against best security practices. However, MR seems to be right - nobody so far in this discussion (or the one on the board - link in the entry) has been able to give a compelling reason *why* it&#039;s more secure to run as root on a home system.

I&#039;ve come up with one scenario, but nobody else has :)</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>True, it does go against best security practices. However, MR seems to be right &#8211; nobody so far in this discussion (or the one on the board &#8211; link in the entry) has been able to give a compelling reason *why* it&#8217;s more secure to run as root on a home system.</p>
<p>I&#8217;ve come up with one scenario, but nobody else has <img src='http://www.everyjoe.com/newlinuxuser/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
