Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » sudo and PATH
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Changing kernels »
« Profile in Solaris terminal session  
AuthorAll Replies


yock
TFTC
Premium
join:2000-11-21
Fairfield, OH

reply to laura
Re: sudo and PATH

The extra dash in...

sudo - -c "command"

...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.
--
Have more fun with your GPS.
Geocaching.com
-
Forums » Tech and Talk » OS and Software » All Things UnixChanging kernels »
« Profile in Solaris terminal session  


Sunday, 29-Nov 14:51:41 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [124] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [96] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [80] TiVo Sees Record Customer Losses
· [77] Weekend Open Thread
· [76] Verizon CEO: Hulu Will Be Dead Soon
· [69] In-Flight Internet Headed For Bumpy Landing?
· [63] Thanksgiving Open Thread
· [40] EFF Wages War On Fine Print
Most people now reading
· Is Easynews down? [Filesharing Software]
· Are GPS's better today? [General Questions]
· Windows 7 boot manager editing questions [Microsoft Help]
· Idiotic neighbour [Canadian Chat]
· Grey Cup on the Web? [Canadian Chat]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Surfers beware !!! [TekSavvy]
· Evading throttling with uTP / uTorrent 1.9a [TekSavvy]
· [Newsgroups] Newzleech down? [Filesharing Software]