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

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

<channel>
<title>sudo and PATH in All Things Unix</title>
<link>http://www.dslreports.com/forum/r22641347</link>
<description></description>
<language>en</language>
<pubDate>Wed, 25 Nov 2009 12:20:50 EDT</pubDate>
<lastBuildDate>Wed, 25 Nov 2009 12:20:50 EDT</lastBuildDate>

<item>
<title>Re: sudo and PATH</title>
<link>http://www.dslreports.com/forum/remark,22652370</link>
<description><![CDATA[<A HREF="/useremail/u/246096"><b>yock</b></A> : 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/remark,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/remark,22641742</link>
<description><![CDATA[<A HREF="/useremail/u/617676"><b>laura</b></A> : <div class="bquote"><small>said by  Bryan001 <A HREF="/useremail/u/674773"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></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/remark,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/remark,22641587</link>
<description><![CDATA[<A HREF="/useremail/u/659143"><b>koitsu</b></A> : See the -s flag, compared to -i.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,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/remark,22641565</link>
<description><![CDATA[<A HREF="/useremail/u/674773"><b>Bryan001</b></A> : 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/remark,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/remark,22641347</link>
<description><![CDATA[<A HREF="/useremail/u/617676"><b>laura</b></A> : 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/remark,22641347</guid>
<pubDate>Wed, 01 Jul 2009 18:22:18 EDT</pubDate>
</item>

</channel>
</rss>
