[mythtv-users] LIRC help

Jay R. Ashworth jra at baylink.com
Sat Aug 14 18:53:25 EDT 2004


On Fri, Aug 13, 2004 at 11:06:48PM -0700, Shawn Asmussen wrote:
> > On Fri, 13 Aug 2004 19:14:33 -0500, aslong at uark.edu <aslong at uark.edu>
> > wrote:
> >> [root at localhost mythtv]# lsmod |grep lirc
> >> bash: lsmod: command not found
> >
> > lsmod lives in /sbin, so it'd be
> > # /sbin/lsmod | grep lirc
> >
> > Odd that /sbin isn't in root's PATH.  Is that a Fedora thing?
> 
> The most likely explaination is that he became the root user using the su
> command and did not use the "-" to make the shell a login shell. In that
> case, his path still be the same as the path of the user who he originally
> logged in as, which probably would not have /sbin included.

I only wish that were true; in SuSE 9.x, it's not: su rewrites the
path no matter how you call it, and I can't figure out where: I'm about
to grovel in the source.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	"You know: I'm a fan of photosynthesis as much as the next guy,
	but if God merely wanted us to smell the flowers, he wouldn't 
	have invented a 3GHz microprocessor and a 3D graphics board."
					-- Luke Girardi


More information about the mythtv-users mailing list