<?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: Changing PATH to include /sbin or: How to fix &#8220;bash: ldconfig: command not found&#8221;</title>
	<atom:link href="http://blog.tordeu.com/?feed=rss2&#038;p=374" rel="self" type="application/rss+xml" />
	<link>http://blog.tordeu.com/?p=374</link>
	<description>a blog about stuff</description>
	<lastBuildDate>Mon, 01 Sep 2014 22:51:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2</generator>
	<item>
		<title>By: tordeu</title>
		<link>http://blog.tordeu.com/?p=374#comment-4339</link>
		<dc:creator>tordeu</dc:creator>
		<pubDate>Wed, 04 Sep 2013 14:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-4339</guid>
		<description><![CDATA[That probably happens because you are not allowed to sudo. You can do one of the following things:
- become administrator with su
- log in as administrator and then run call nano without sudo
- enable su like explained in the following post: &lt;a href=&quot;http://blog.tordeu.com/?p=31&quot; rel=&quot;nofollow&quot;&gt;How to enable sudo in Linux (here: Debian Squeeze)?&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>That probably happens because you are not allowed to sudo. You can do one of the following things:<br />
- become administrator with su<br />
- log in as administrator and then run call nano without sudo<br />
- enable su like explained in the following post: <a href="http://blog.tordeu.com/?p=31" rel="nofollow">How to enable sudo in Linux (here: Debian Squeeze)?</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: libssh_user</title>
		<link>http://blog.tordeu.com/?p=374#comment-4322</link>
		<dc:creator>libssh_user</dc:creator>
		<pubDate>Mon, 02 Sep 2013 11:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-4322</guid>
		<description><![CDATA[Do we need special priveleges for editing the PATH environment variable?
When I tried I got the error : (user) is not allowed to execute ‘/usr/bin/nano /etc/profile’ as root on (localhost)

*user and localhost are place holders]]></description>
		<content:encoded><![CDATA[<p>Do we need special priveleges for editing the PATH environment variable?<br />
When I tried I got the error : (user) is not allowed to execute ‘/usr/bin/nano /etc/profile’ as root on (localhost)</p>
<p>*user and localhost are place holders</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chunyun</title>
		<link>http://blog.tordeu.com/?p=374#comment-4279</link>
		<dc:creator>Chunyun</dc:creator>
		<pubDate>Wed, 28 Aug 2013 20:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-4279</guid>
		<description><![CDATA[Thank you very much! I just realized I missed the very first sentence in your original post: your system was a Debian Wheezy system. Mine is a mac and there is no ldconfig command for mac after all. Now I felt silly that I asked that question. But I&#039;m not the one to blame. I was reading an instruction for installing imageMagick on unix system and was told to use ldconfig. 
BTW, thanks for your reply. I now know how to modify the path variable :)]]></description>
		<content:encoded><![CDATA[<p>Thank you very much! I just realized I missed the very first sentence in your original post: your system was a Debian Wheezy system. Mine is a mac and there is no ldconfig command for mac after all. Now I felt silly that I asked that question. But I&#8217;m not the one to blame. I was reading an instruction for installing imageMagick on unix system and was told to use ldconfig.<br />
BTW, thanks for your reply. I now know how to modify the path variable <img src='http://blog.tordeu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tordeu</title>
		<link>http://blog.tordeu.com/?p=374#comment-4273</link>
		<dc:creator>tordeu</dc:creator>
		<pubDate>Wed, 28 Aug 2013 04:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-4273</guid>
		<description><![CDATA[You probably just have a different linux distribution than I do (I did that on Debian Wheezy). That isn&#039;t a problem though.

You can do one of two things:

1. Look at /etc/bashrc, PATH may be defined there

2. You can add the following two lines at the end of /etc/profile:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:$PATH
export PATH

This adds the three sbin directories to an already existing PATH variable.]]></description>
		<content:encoded><![CDATA[<p>You probably just have a different linux distribution than I do (I did that on Debian Wheezy). That isn&#8217;t a problem though.</p>
<p>You can do one of two things:</p>
<p>1. Look at /etc/bashrc, PATH may be defined there</p>
<p>2. You can add the following two lines at the end of /etc/profile:</p>
<p>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:$PATH<br />
export PATH</p>
<p>This adds the three sbin directories to an already existing PATH variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chunyun</title>
		<link>http://blog.tordeu.com/?p=374#comment-4266</link>
		<dc:creator>Chunyun</dc:creator>
		<pubDate>Tue, 27 Aug 2013 22:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-4266</guid>
		<description><![CDATA[Thanks for your instruction. I encountered the same problem today. However, when I opened the file, I didn&#039;t see the same content as you described above. Instead, the file reads as follows:

# System-wide .profile for sh(1)

if [ -x /usr/libexec/path_helper ]; then
        eval `/usr/libexec/path_helper -s`
fi

if [ &quot;${BASH-no}&quot; != &quot;no&quot; ]; then
        [ -r /etc/bashrc ] &amp;&amp; . /etc/bashrc
fi

I looked up online and it seem that this is how default /etc/profile looks like...
Should I still add the lines that you recommended regardless?

Thanks again!]]></description>
		<content:encoded><![CDATA[<p>Thanks for your instruction. I encountered the same problem today. However, when I opened the file, I didn&#8217;t see the same content as you described above. Instead, the file reads as follows:</p>
<p># System-wide .profile for sh(1)</p>
<p>if [ -x /usr/libexec/path_helper ]; then<br />
        eval `/usr/libexec/path_helper -s`<br />
fi</p>
<p>if [ "${BASH-no}" != "no" ]; then<br />
        [ -r /etc/bashrc ] &amp;&amp; . /etc/bashrc<br />
fi</p>
<p>I looked up online and it seem that this is how default /etc/profile looks like&#8230;<br />
Should I still add the lines that you recommended regardless?</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aniketh</title>
		<link>http://blog.tordeu.com/?p=374#comment-4012</link>
		<dc:creator>aniketh</dc:creator>
		<pubDate>Fri, 09 Aug 2013 17:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-4012</guid>
		<description><![CDATA[I faced the same issue today, and apparently this happens because I did not update the sudoers file while doing a dist upgrade. It got fixed by adding 
Defaults   secure_path=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&quot;
under the Defaults line.

Got the tip from http://forums.debian.net/viewtopic.php?f=5&amp;t=69205]]></description>
		<content:encoded><![CDATA[<p>I faced the same issue today, and apparently this happens because I did not update the sudoers file while doing a dist upgrade. It got fixed by adding<br />
Defaults   secure_path=&#8221;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&#8221;<br />
under the Defaults line.</p>
<p>Got the tip from <a href="http://forums.debian.net/viewtopic.php?f=5&#038;t=69205" rel="nofollow">http://forums.debian.net/viewtopic.php?f=5&#038;t=69205</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bzt-Fzt</title>
		<link>http://blog.tordeu.com/?p=374#comment-2072</link>
		<dc:creator>Bzt-Fzt</dc:creator>
		<pubDate>Sun, 05 May 2013 14:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tordeu.com/?p=374#comment-2072</guid>
		<description><![CDATA[Very useful, thanks!]]></description>
		<content:encoded><![CDATA[<p>Very useful, thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
