<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Topic &#x27;Re: sudo and PATH&#x27; in forum &#x27;All Things Unix&#x27; - dslreports.com</title>
<link>http://www.dslreports.com/forum/Re-sudo-and-PATH-22641347</link>
<description></description>
<language>en</language>
<pubDate>Sat, 11 Feb 2012 09:41:47 EDT</pubDate>
<lastBuildDate>Sat, 11 Feb 2012 09:41:47 EDT</lastBuildDate>

<item>
<title>Re: sudo and PATH</title>
<link>http://www.dslreports.com/forum/Re-sudo-and-PATH-22652370</link>
<description><![CDATA[yock posted : The extra dash in...<br><br>sudo <b>-</b> -c "command"<br><br>...indicates that sudo should source root's profile. Among other things, that'll get you /sbin and the like in $PATH. You could always reference the full path of the command if you don't need everything else that comes with root's profile.<br><small>--<br>Have more fun with your GPS.<br><A HREF="http://www.geocaching.com/about/">Geocaching.com</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-sudo-and-PATH-22652370</guid>
<pubDate>Fri, 03 Jul 2009 23:45:45 EDT</pubDate>
</item>

<item>
<title>Re: sudo and PATH</title>
<link>http://www.dslreports.com/forum/Re-sudo-and-PATH-22641742</link>
<description><![CDATA[laura posted : <div class="bquote"><small>said by <a href="/profile/674773" onClick="this.blur(); return popup(event,'/uidpop?ajh=1&uid=674773');">Bryan001</a>:</small><br><br>Off the top of my head the only thing I got is <br>sudo su - -c "command"<br> </div>thank you that worked well.<br><small>--<br><A HREF="http://www.43things.com/person/lauramariel">43 things</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-sudo-and-PATH-22641742</guid>
<pubDate>Wed, 01 Jul 2009 19:46:00 EDT</pubDate>
</item>

<item>
<title>Re: sudo and PATH</title>
<link>http://www.dslreports.com/forum/Re-sudo-and-PATH-22641587</link>
<description><![CDATA[koitsu posted : See the -s flag, compared to -i.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-sudo-and-PATH-22641587</guid>
<pubDate>Wed, 01 Jul 2009 19:09:21 EDT</pubDate>
</item>

<item>
<title>Re: sudo and PATH</title>
<link>http://www.dslreports.com/forum/Re-sudo-and-PATH-22641565</link>
<description><![CDATA[Bryan001 posted : Off the top of my head the only thing I got is <br>sudo su - -c "command"]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-sudo-and-PATH-22641565</guid>
<pubDate>Wed, 01 Jul 2009 19:05:10 EDT</pubDate>
</item>

<item>
<title>sudo and PATH</title>
<link>http://www.dslreports.com/forum/sudo-and-PATH-22641347</link>
<description><![CDATA[laura posted : I know that in SUSE, when I use sudo it uses my PATH by default and not roots path. Is there a way to make it use root's path? or at least add something to the PATH? I've looked at /etc/sudoers but I'm not sure what to add there or if it's even possible.<br><small>--<br><A HREF="http://www.43things.com/person/lauramariel">43 things</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/sudo-and-PATH-22641347</guid>
<pubDate>Wed, 01 Jul 2009 18:22:18 EDT</pubDate>
</item>

</channel>
</rss>

