[mythtvnz] Xmltv options not showing
Hadley Rich
hads at nice.net.nz
Wed Oct 29 20:36:44 GMT 2008
On Thu, 2008-10-30 at 09:08 +1300, Jason Taylor wrote:
> sudo echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
sudo is a little tricy with paths. `sudo echo` will keep your users
environment. `sudo -i` will give you root's env, `sudo su - mythtv` will
give you mythtv's env.
hads at snowman:~$ echo $PATH
/mnt/share/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
hads at snowman:~$ sudo echo $PATH
[sudo] password for hads:
/mnt/share/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
hads at snowman:~$ sudo -i
root at snowman:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
root at snowman:~# su - mythtv
mythtv at snowman:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games
mythtv at snowman:~$
--
http://nicegear.co.nz
VoIP, DVB and other Linux compatible hardware.
More information about the mythtvnz
mailing list