<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: The Perils of Sudo With User Passwords</title>
	<atom:link href="http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/</link>
	<description>Thinking, doing, and learning about sysadmin/devops issues.</description>
	<lastBuildDate>Tue, 20 Sep 2011 23:05:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Timo Juhani Lindfors</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-82</link>
		<dc:creator>Timo Juhani Lindfors</dc:creator>
		<pubDate>Tue, 02 Mar 2010 08:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-82</guid>
		<description>Daglan, XGrabKeyboard() is not enough since you can use ptrace or just modify the menu entry that starts gksudo to start a malicious wrapper. See Debian bug #474024

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474024</description>
		<content:encoded><![CDATA[<p>Daglan, XGrabKeyboard() is not enough since you can use ptrace or just modify the menu entry that starts gksudo to start a malicious wrapper. See Debian bug #474024</p>
<p><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474024" rel="nofollow">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474024</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caleb Cushing ( xenoterracide )</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-80</link>
		<dc:creator>Caleb Cushing ( xenoterracide )</dc:creator>
		<pubDate>Mon, 01 Mar 2010 18:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-80</guid>
		<description>I find the mention of ubuntu reducing it funny... Ubuntu is the reason we have this problem. it was Ubuntu that started putting sudo this and sudo that. sudo is great... if you limit the commands it can run. you can force people to use the root password for sudo instead of theirs. but instead ubuntu has used it as a substitute for su -c  that requires your password, so most people think that&#039;s acceptable.</description>
		<content:encoded><![CDATA[<p>I find the mention of ubuntu reducing it funny&#8230; Ubuntu is the reason we have this problem. it was Ubuntu that started putting sudo this and sudo that. sudo is great&#8230; if you limit the commands it can run. you can force people to use the root password for sudo instead of theirs. but instead ubuntu has used it as a substitute for su -c  that requires your password, so most people think that&#8217;s acceptable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corfy</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-79</link>
		<dc:creator>Corfy</dc:creator>
		<pubDate>Mon, 01 Mar 2010 17:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-79</guid>
		<description>It seems to me that there is one obvious advantage to sudo that you aren&#039;t mentioning, at least for systems like Ubuntu that don&#039;t come with an account called root.

If you are trying to break into a remote computer, with most Linux systems, you can guess that the root account is &quot;root&quot;, but with Ubuntu, not only do you need to know/guess the password, but you also need to know/guess the account name that has the sudo privileges. That would seem to me to be an additional layer of security.

To me, having millions of computers all with the root username of &quot;root&quot; just seems to be a huge security hole waiting to be exploited.</description>
		<content:encoded><![CDATA[<p>It seems to me that there is one obvious advantage to sudo that you aren&#8217;t mentioning, at least for systems like Ubuntu that don&#8217;t come with an account called root.</p>
<p>If you are trying to break into a remote computer, with most Linux systems, you can guess that the root account is &#8220;root&#8221;, but with Ubuntu, not only do you need to know/guess the password, but you also need to know/guess the account name that has the sudo privileges. That would seem to me to be an additional layer of security.</p>
<p>To me, having millions of computers all with the root username of &#8220;root&#8221; just seems to be a huge security hole waiting to be exploited.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat Augustine</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-78</link>
		<dc:creator>Pat Augustine</dc:creator>
		<pubDate>Mon, 01 Mar 2010 16:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-78</guid>
		<description>&quot;I was mainly trying to get one point across in the article: “using ALL(ALL) is considered harmful.”
I wish that you had said that somewhere in the article, which reads, instead, like a rant against SUDO usage in almost any circumstance. I agree wholeheartedly about using ALL(ALL) being bad, but in a large environment with lots of different groups needing different rights, maintaining appropriate sudo rights is far superior to giving every DBA and every CA Unicenter admin and anybody else who occasionally needs to run one or two commands full root rights. Keeping the root password to as few people as possible is a good thing, and sudo is a tool that helps you to do that.</description>
		<content:encoded><![CDATA[<p>&#8220;I was mainly trying to get one point across in the article: “using ALL(ALL) is considered harmful.”<br />
I wish that you had said that somewhere in the article, which reads, instead, like a rant against SUDO usage in almost any circumstance. I agree wholeheartedly about using ALL(ALL) being bad, but in a large environment with lots of different groups needing different rights, maintaining appropriate sudo rights is far superior to giving every DBA and every CA Unicenter admin and anybody else who occasionally needs to run one or two commands full root rights. Keeping the root password to as few people as possible is a good thing, and sudo is a tool that helps you to do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hdaz</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-75</link>
		<dc:creator>hdaz</dc:creator>
		<pubDate>Sun, 28 Feb 2010 21:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-75</guid>
		<description>I agree there is a bit of a difference between home, SMB and so called Enterprise Implementations... 

Enterprise Implementations:-
sudo has its place for allowing access to a limited number of resources to different line(s) of support staff. 

Root user should be a very secure password if it is enabled and and ever used.

Id like to know more about the traps and logger out to syslog, cause I think this is normally a very grey area (and seen some ways to do it but none what Id want to deploy).</description>
		<content:encoded><![CDATA[<p>I agree there is a bit of a difference between home, SMB and so called Enterprise Implementations&#8230; </p>
<p>Enterprise Implementations:-<br />
sudo has its place for allowing access to a limited number of resources to different line(s) of support staff. </p>
<p>Root user should be a very secure password if it is enabled and and ever used.</p>
<p>Id like to know more about the traps and logger out to syslog, cause I think this is normally a very grey area (and seen some ways to do it but none what Id want to deploy).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dev</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-73</link>
		<dc:creator>dev</dc:creator>
		<pubDate>Sun, 28 Feb 2010 17:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-73</guid>
		<description>Being as the difference we are discussing is between the security of a sudoer user account, and the security of normal root login shell... If you are in favor of root passwords I think the alternative of having an account independent of the user&#039;s normal login account for sudo activities - one which requires keys or multi-token auth for ssh, has stricter password requirements and significantly shorter password change cycle - can meet or exceed the security of root shells while keeping logging capabilities. Plus it reduces your long term maintenance and potential security issues when changing root passwords on schedule or (sometimes emergency) departure of staff.

A lot of us cringe at the thought of generating multiple user accounts, but under certain high-level administration circumstances, and with proper configuration, especially when regulatory needs in the mix, it makes quite a bit of sense.

Ubuntu providing sudoer accounts on *home desktops* by default is a problem at all. The truth is, for most people that&#039;s perfectly fine, even on those &quot;other&quot; OSes (OSX does it too). The problem is when these same ideologies are applied blindly to enterprise implementations. When they are it&#039;s either a result of poor training or pure lazy sysadmining.

Sudo is another case of &quot;it&#039;s not the tool, it&#039;s how you use it&quot;. Sudo has it&#039;s place, and until a replacement is fleshed out, it is necessary as has been stated. You just have to know exactly what its use means before building your implementation.</description>
		<content:encoded><![CDATA[<p>Being as the difference we are discussing is between the security of a sudoer user account, and the security of normal root login shell&#8230; If you are in favor of root passwords I think the alternative of having an account independent of the user&#8217;s normal login account for sudo activities &#8211; one which requires keys or multi-token auth for ssh, has stricter password requirements and significantly shorter password change cycle &#8211; can meet or exceed the security of root shells while keeping logging capabilities. Plus it reduces your long term maintenance and potential security issues when changing root passwords on schedule or (sometimes emergency) departure of staff.</p>
<p>A lot of us cringe at the thought of generating multiple user accounts, but under certain high-level administration circumstances, and with proper configuration, especially when regulatory needs in the mix, it makes quite a bit of sense.</p>
<p>Ubuntu providing sudoer accounts on *home desktops* by default is a problem at all. The truth is, for most people that&#8217;s perfectly fine, even on those &#8220;other&#8221; OSes (OSX does it too). The problem is when these same ideologies are applied blindly to enterprise implementations. When they are it&#8217;s either a result of poor training or pure lazy sysadmining.</p>
<p>Sudo is another case of &#8220;it&#8217;s not the tool, it&#8217;s how you use it&#8221;. Sudo has it&#8217;s place, and until a replacement is fleshed out, it is necessary as has been stated. You just have to know exactly what its use means before building your implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-72</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sun, 28 Feb 2010 11:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-72</guid>
		<description>&quot;One thing that still confuses many are the differences between sudo bash, sudo -i, and sudo -s.&quot;

OK.  What are the differences?

(Yes, I have looked at the man page.  I see that there is some difference with the way sudo -i handles some environment variables compared to the other two commands.  I think.)</description>
		<content:encoded><![CDATA[<p>&#8220;One thing that still confuses many are the differences between sudo bash, sudo -i, and sudo -s.&#8221;</p>
<p>OK.  What are the differences?</p>
<p>(Yes, I have looked at the man page.  I see that there is some difference with the way sudo -i handles some environment variables compared to the other two commands.  I think.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daglan</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-71</link>
		<dc:creator>Daglan</dc:creator>
		<pubDate>Sun, 28 Feb 2010 09:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-71</guid>
		<description>Paul:
In X-window, xterm invokes XGrabKeyboard() while a password is being typed so that keyboard events can&#039;t be read by other X clients. So I don&#039;t see how the password could be read unless root was already compromised.

Substituting a wrapper script for sudo  where sudo has a timeout is a way of getting root transparently:
http://mihaiv.wordpress.com/2009/07/17/security-issues-with-sudo/</description>
		<content:encoded><![CDATA[<p>Paul:<br />
In X-window, xterm invokes XGrabKeyboard() while a password is being typed so that keyboard events can&#8217;t be read by other X clients. So I don&#8217;t see how the password could be read unless root was already compromised.</p>
<p>Substituting a wrapper script for sudo  where sudo has a timeout is a way of getting root transparently:<br />
<a href="http://mihaiv.wordpress.com/2009/07/17/security-issues-with-sudo/" rel="nofollow">http://mihaiv.wordpress.com/2009/07/17/security-issues-with-sudo/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-70</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Sun, 28 Feb 2010 06:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-70</guid>
		<description>Mackenzie: indeed, good point. 

I was speaking strictly of the sshd config. *If* you have set a root password, the default sshd_config allows root to authenticate with a password.</description>
		<content:encoded><![CDATA[<p>Mackenzie: indeed, good point. </p>
<p>I was speaking strictly of the sshd config. *If* you have set a root password, the default sshd_config allows root to authenticate with a password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mackenzie</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-67</link>
		<dc:creator>Mackenzie</dc:creator>
		<pubDate>Sun, 28 Feb 2010 04:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-67</guid>
		<description>Charlie:
Since Ubuntu *has no root password*, no, enabling SSH does *not* enable password-based login for root.</description>
		<content:encoded><![CDATA[<p>Charlie:<br />
Since Ubuntu *has no root password*, no, enabling SSH does *not* enable password-based login for root.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsw</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-65</link>
		<dc:creator>lsw</dc:creator>
		<pubDate>Sun, 28 Feb 2010 00:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-65</guid>
		<description>&quot;Most of the time, sysadmins with full sudo access just end up running ‘sudo bash’ and doing all their work from that root shell.&quot;

Sysadmins who read their man pages will run &quot;sudo -i&quot; to do their work from a root shell.</description>
		<content:encoded><![CDATA[<p>&#8220;Most of the time, sysadmins with full sudo access just end up running ‘sudo bash’ and doing all their work from that root shell.&#8221;</p>
<p>Sysadmins who read their man pages will run &#8220;sudo -i&#8221; to do their work from a root shell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-63</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 27 Feb 2010 21:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-63</guid>
		<description>Really, if you are concerned about incoming SSH attacks, you need to disable keyboard authentication and learn how to use public/private keys.

They can brute force all they want, but it does nothing. If you have something like denyhosts running, it means it&#039;s all but impossible to &#039;get in&#039; via SSH when this is configured.

Regarding sudo - I can see it&#039;s use as a general replacement for &#039;su&#039; in the case it is configured to require the root password. However, if the user is compromised and a keylogger is running, what difference does it make if it&#039;s a root or user password that gets captured? The attacker still gets his/her path to root. In either case, they can&#039;t go straight for the money in /etc/shadow, they HAVE to capture you type it. Whether you type your own password or the magical root password is not really relevant.</description>
		<content:encoded><![CDATA[<p>Really, if you are concerned about incoming SSH attacks, you need to disable keyboard authentication and learn how to use public/private keys.</p>
<p>They can brute force all they want, but it does nothing. If you have something like denyhosts running, it means it&#8217;s all but impossible to &#8216;get in&#8217; via SSH when this is configured.</p>
<p>Regarding sudo &#8211; I can see it&#8217;s use as a general replacement for &#8216;su&#8217; in the case it is configured to require the root password. However, if the user is compromised and a keylogger is running, what difference does it make if it&#8217;s a root or user password that gets captured? The attacker still gets his/her path to root. In either case, they can&#8217;t go straight for the money in /etc/shadow, they HAVE to capture you type it. Whether you type your own password or the magical root password is not really relevant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-62</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Sat, 27 Feb 2010 19:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-62</guid>
		<description>Edward: password-based root auth should never be allowed, so that shouldn&#039;t be an attack vector (but I do believe it is allowed by default in Ubuntu once you enable SSH, ugh).</description>
		<content:encoded><![CDATA[<p>Edward: password-based root auth should never be allowed, so that shouldn&#8217;t be an attack vector (but I do believe it is allowed by default in Ubuntu once you enable SSH, ugh).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daglan</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-61</link>
		<dc:creator>Daglan</dc:creator>
		<pubDate>Sat, 27 Feb 2010 19:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-61</guid>
		<description>The sudo timeout period on Ubuntu makes getting root access from a compromised admin account pretty easy. Reducing the use of sudo through PolicyKit isn&#039;t going to stop the waiting trojan going in as soon as the door is opened.

Desktop users shouldn&#039;t need root access. The GNU/Linux desktops seem to be building on top of the same broken desktop security model that has plagued Windows. Users are expected to grant desktop software installation scripts root access (assuming they use the bundled packaging system) and to grant software read-write  access to all their user data.  It shouldn&#039;t be necessary (it isn&#039;t on Android).</description>
		<content:encoded><![CDATA[<p>The sudo timeout period on Ubuntu makes getting root access from a compromised admin account pretty easy. Reducing the use of sudo through PolicyKit isn&#8217;t going to stop the waiting trojan going in as soon as the door is opened.</p>
<p>Desktop users shouldn&#8217;t need root access. The GNU/Linux desktops seem to be building on top of the same broken desktop security model that has plagued Windows. Users are expected to grant desktop software installation scripts root access (assuming they use the bundled packaging system) and to grant software read-write  access to all their user data.  It shouldn&#8217;t be necessary (it isn&#8217;t on Android).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-60</link>
		<dc:creator>Edward</dc:creator>
		<pubDate>Sat, 27 Feb 2010 18:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-60</guid>
		<description>What I like about the Ubuntu model (ie. root password disabled) is that it eliminates an attack vector. Any attacker &quot;out there&quot; can try all he likes to brute-force the root account on my machine, but he&#039;ll never get in that way. To get administrator privileges, he&#039;ll need to know *my* login id before he can even start.
That said, a password for sudo other than my regular account password is a great idea.</description>
		<content:encoded><![CDATA[<p>What I like about the Ubuntu model (ie. root password disabled) is that it eliminates an attack vector. Any attacker &#8220;out there&#8221; can try all he likes to brute-force the root account on my machine, but he&#8217;ll never get in that way. To get administrator privileges, he&#8217;ll need to know *my* login id before he can even start.<br />
That said, a password for sudo other than my regular account password is a great idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-59</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Sat, 27 Feb 2010 16:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-59</guid>
		<description>Bhaskar: thank you for your comment. 

I do understand sudo quite well, and I realize it is highly configurable. I was mainly trying to get one point across in the article: &quot;using ALL(ALL) is considered harmful.&quot;

Most sudo implementations, even at the  large IT organization level, do this.</description>
		<content:encoded><![CDATA[<p>Bhaskar: thank you for your comment. </p>
<p>I do understand sudo quite well, and I realize it is highly configurable. I was mainly trying to get one point across in the article: &#8220;using ALL(ALL) is considered harmful.&#8221;</p>
<p>Most sudo implementations, even at the  large IT organization level, do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charlie</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-58</link>
		<dc:creator>charlie</dc:creator>
		<pubDate>Sat, 27 Feb 2010 16:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-58</guid>
		<description>Yes, sudo can be configured to require a different password, which is good :)

mpt: I didn&#039;t say I&#039;ve never seen mistakes cause damage, but I don&#039;t believe they are the *big* problem. And writing down passwords is not a problem. I&#039;ve written about that topic before, but I defer to the real expert: http://www.schneier.com/blog/archives/2005/06/write_down_your.html</description>
		<content:encoded><![CDATA[<p>Yes, sudo can be configured to require a different password, which is good <img src='http://www.longitudetech.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>mpt: I didn&#8217;t say I&#8217;ve never seen mistakes cause damage, but I don&#8217;t believe they are the *big* problem. And writing down passwords is not a problem. I&#8217;ve written about that topic before, but I defer to the real expert: <a href="http://www.schneier.com/blog/archives/2005/06/write_down_your.html" rel="nofollow">http://www.schneier.com/blog/archives/2005/06/write_down_your.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links 27/2/2010: Kolivas&#8217; New Patches, Predictions for Sub-notebooks with ARM &#124; Boycott Novell</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-57</link>
		<dc:creator>Links 27/2/2010: Kolivas&#8217; New Patches, Predictions for Sub-notebooks with ARM &#124; Boycott Novell</dc:creator>
		<pubDate>Sat, 27 Feb 2010 16:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-57</guid>
		<description>[...] The Perils of Sudo With User Passwords [...]</description>
		<content:encoded><![CDATA[<p>[...] The Perils of Sudo With User Passwords [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Folkert</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-55</link>
		<dc:creator>Greg Folkert</dc:creator>
		<pubDate>Sat, 27 Feb 2010 15:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-55</guid>
		<description>PCI-DSS also requires command logging as the root user.

We use traps and logger to log all commands to syslog channels and then also remotely log to a syslog server which is mined using spelunk. We notifications about what users do what, how and where. Using sudo is nearly bone stock required period for PCI-DSS.

If the traps are disabled, we get notifications as well.</description>
		<content:encoded><![CDATA[<p>PCI-DSS also requires command logging as the root user.</p>
<p>We use traps and logger to log all commands to syslog channels and then also remotely log to a syslog server which is mined using spelunk. We notifications about what users do what, how and where. Using sudo is nearly bone stock required period for PCI-DSS.</p>
<p>If the traps are disabled, we get notifications as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-54</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 27 Feb 2010 10:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-54</guid>
		<description>It&#039;s always bothered me that sudo is seen as somehow secure because you have to re-enter your user level password. I&#039;m not sure if it&#039;s already available, but wouldn&#039;t the ability to set an alternative password/security mechanism in sudo to run some commands be useful? E.g joe logs in and wants to run sudo but rather than using his user password he has to authenticate with his &quot;elevated access&quot; credentials.</description>
		<content:encoded><![CDATA[<p>It&#8217;s always bothered me that sudo is seen as somehow secure because you have to re-enter your user level password. I&#8217;m not sure if it&#8217;s already available, but wouldn&#8217;t the ability to set an alternative password/security mechanism in sudo to run some commands be useful? E.g joe logs in and wants to run sudo but rather than using his user password he has to authenticate with his &#8220;elevated access&#8221; credentials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuong</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-53</link>
		<dc:creator>Chuong</dc:creator>
		<pubDate>Sat, 27 Feb 2010 09:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-53</guid>
		<description>It&#039;s nice that you have straightened the misunderstand between the use of &quot;sudo somecommand&quot; and root account. &quot;sudo somecommand&quot; is more suitable to users who sometimes need to do some maintenance or install software packages for  their own computer. I think this is for reducing the time a person spends as root, but for the risk of increasing number times running sudo. If the next sudo is executed within a short enough time interval, ubuntu doesn&#039;t ask for a password, and this is quite dangerous.</description>
		<content:encoded><![CDATA[<p>It&#8217;s nice that you have straightened the misunderstand between the use of &#8220;sudo somecommand&#8221; and root account. &#8220;sudo somecommand&#8221; is more suitable to users who sometimes need to do some maintenance or install software packages for  their own computer. I think this is for reducing the time a person spends as root, but for the risk of increasing number times running sudo. If the next sudo is executed within a short enough time interval, ubuntu doesn&#8217;t ask for a password, and this is quite dangerous.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-52</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sat, 27 Feb 2010 07:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-52</guid>
		<description>Finally someone writes something useful about sudo. It is not intended to be used for system wide access. Fortunately I started using Linux a few years before the sudo craze and therefore never picked up that nasty habit, or Ubuntu for that matter.

I&#039;ve become quite the su purist. Even PolicyKit bothers me. There are a few things in which I believe users should have access, like wireless roaming. Other than that I see no reason for regular users to be given access to the system.

Its just asking for trouble.

No I should just sit back and wait for the flames from the sudo camp.</description>
		<content:encoded><![CDATA[<p>Finally someone writes something useful about sudo. It is not intended to be used for system wide access. Fortunately I started using Linux a few years before the sudo craze and therefore never picked up that nasty habit, or Ubuntu for that matter.</p>
<p>I&#8217;ve become quite the su purist. Even PolicyKit bothers me. There are a few things in which I believe users should have access, like wireless roaming. Other than that I see no reason for regular users to be given access to the system.</p>
<p>Its just asking for trouble.</p>
<p>No I should just sit back and wait for the flames from the sudo camp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhaskar Chowdhury</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-51</link>
		<dc:creator>Bhaskar Chowdhury</dc:creator>
		<pubDate>Sat, 27 Feb 2010 05:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-51</guid>
		<description>Hey Charlie,

I think really need to go through the sudoers configuaration file properly.And understand what it says.

You can restrict ordinary users many ways(SELinux is best possible thing)..but can restrict users to some specific command bunch.

So they cannot fire whatever they want at their will.

I want you investigate more on this topic then posting you comment.

In the enterprise the security story is quite different.There will be &quot;ring&quot; of security not just one method deployed.

Moreover security is an constant process...just cannot be left behind.You will be always on your toes to get along with it..otherwise chances are high to be get compromised.

Cheers
Bhaskar</description>
		<content:encoded><![CDATA[<p>Hey Charlie,</p>
<p>I think really need to go through the sudoers configuaration file properly.And understand what it says.</p>
<p>You can restrict ordinary users many ways(SELinux is best possible thing)..but can restrict users to some specific command bunch.</p>
<p>So they cannot fire whatever they want at their will.</p>
<p>I want you investigate more on this topic then posting you comment.</p>
<p>In the enterprise the security story is quite different.There will be &#8220;ring&#8221; of security not just one method deployed.</p>
<p>Moreover security is an constant process&#8230;just cannot be left behind.You will be always on your toes to get along with it..otherwise chances are high to be get compromised.</p>
<p>Cheers<br />
Bhaskar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stlouisubntu</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-50</link>
		<dc:creator>stlouisubntu</dc:creator>
		<pubDate>Sat, 27 Feb 2010 02:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-50</guid>
		<description>FWIW, here is how the ubuntu / debian boxes are set up in my home (2 ubuntu, 1 debian -- debian box has been ubuntuized with regard to sudo -- admin group, first user in admin group, users in admin group may secure root privileges):  All are set up to automatically log in to the desktop to the first (and only) user / sudo account, but the only person who knows (or cares about) the first user / sudo password is the home sysadmin (man / mouse of the house / buntu geek, ME!!)  As such, I KNOW, that no one but myself will be doing ANYTHING that requires root privileges.  One thing that still confuses many are the differences between sudo bash, sudo -i, and sudo -s.  Moreover, I venture to bet that many other (buntu home users) have a similar setup as I do.</description>
		<content:encoded><![CDATA[<p>FWIW, here is how the ubuntu / debian boxes are set up in my home (2 ubuntu, 1 debian &#8212; debian box has been ubuntuized with regard to sudo &#8212; admin group, first user in admin group, users in admin group may secure root privileges):  All are set up to automatically log in to the desktop to the first (and only) user / sudo account, but the only person who knows (or cares about) the first user / sudo password is the home sysadmin (man / mouse of the house / buntu geek, ME!!)  As such, I KNOW, that no one but myself will be doing ANYTHING that requires root privileges.  One thing that still confuses many are the differences between sudo bash, sudo -i, and sudo -s.  Moreover, I venture to bet that many other (buntu home users) have a similar setup as I do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mpt</title>
		<link>http://www.longitudetech.com/linux-unix/the-perils-of-sudo-with-user-passwords/comment-page-1/#comment-49</link>
		<dc:creator>mpt</dc:creator>
		<pubDate>Sat, 27 Feb 2010 01:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.longitudetech.com/blog/?p=47#comment-49</guid>
		<description>Here’s the blueprint on reducing sudo in Ubuntu: https://blueprints.launchpad.net/ubuntu/+spec/security-karmic-no-sudo (My small role in this is designing PolicyKit-using replacements for Synaptic, gdebi, apturl, and software-properties-gtk.)

If you haven’t seen human errors as a problem, then well done for being unusually careful. :-) But even ignoring safety, any extra security from having a separate root account with its own password may be outweighed by the increased probability of people needing to write down both their passwords to remember them.

As for having “users” separate from “sysadmins”, that distinction may make sense for medium-to-large organizations, but it makes scant sense for home use. And it will, I hope, make little sense for organizations 20 years from now too: vendors who assume that computer systems will always need constant “administration” will eventually get beaten by competitors who dare to imagine otherwise.</description>
		<content:encoded><![CDATA[<p>Here’s the blueprint on reducing sudo in Ubuntu: <a href="https://blueprints.launchpad.net/ubuntu/+spec/security-karmic-no-sudo" rel="nofollow">https://blueprints.launchpad.net/ubuntu/+spec/security-karmic-no-sudo</a> (My small role in this is designing PolicyKit-using replacements for Synaptic, gdebi, apturl, and software-properties-gtk.)</p>
<p>If you haven’t seen human errors as a problem, then well done for being unusually careful. <img src='http://www.longitudetech.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  But even ignoring safety, any extra security from having a separate root account with its own password may be outweighed by the increased probability of people needing to write down both their passwords to remember them.</p>
<p>As for having “users” separate from “sysadmins”, that distinction may make sense for medium-to-large organizations, but it makes scant sense for home use. And it will, I hope, make little sense for organizations 20 years from now too: vendors who assume that computer systems will always need constant “administration” will eventually get beaten by competitors who dare to imagine otherwise.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
