"grep" not working

Dirk Moolman DirkM
Fri May 18 00:17:05 PDT 2007



>-----Original Message-----
>From: linux-users-bounces at linux-sxs.org
[mailto:linux-users-bounces at linux->sxs.org] On Behalf Of Bill Campbell
>Sent: 17 May 2007 06:30 PM
>
>On Thu, May 17, 2007, Dirk Moolman wrote:
>>Ok, I found the problem.   David was on the right track, regarding the
>>binary which could be different.
>>
>>I found this out another way, by printing out root's profile, and the
>>user's profile, and sitting and comparing the 2 profiles.   I first
>>thought this might be related to the locale or language settings, but
it
>>wasn't.

>That seems to be the hard way to compare them:
>
># as user
>env | sort > /tmp/envuser
>su - root
>env | sort > /tmp/envroot
>exit
>diff -u /tmp/envuser /tmp/envroot


Thanks, I tried this, but the environments were still very different, so
eventually I just printed them out, so I could take a pen, and start
ticking things off on the list.

:-)

Dirk


Disclaimer: http://196.33.167.70/disclaimer





More information about the Linux-users mailing list