nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Call for testing of nmh 1.7 release candidate 3


From: Kevin Cosgrove
Subject: Re: [Nmh-workers] Call for testing of nmh 1.7 release candidate 3
Date: Fri, 25 Aug 2017 18:31:05 -0700

On 25 August 2017 at 20:34, Ken Hornstein <address@hidden> wrote:

> >  + localuser:kevinc being removed from access control list
> 
> I dug into this a bit more.  What is your SHELL?  Specifically, what
> is the "SHELL" environment variable set to?
> 
> Boy, I just took a look at whatnowsbr.c, specifically how "cd", "pwd",
> and "ls" work.  Talk about knowing how the sausage is being made ...
> 
> Anyway, those commands invoke the user's shell instead of using /bin/sh,
> so if you use another shell the xhost command might get invoked that
> way.  Really, it's doing things like:
> 
>       $SHELL -c "cd&&pwd"
> 
> If that still prints out the xhost line if you do that from the command
> line, then that's the problem.


address@hidden #337] printenv SHELL
/bin/tcsh
address@hidden #338] $SHELL -c "cd&&pwd"
localuser:kevinc being removed from access control list
/home/kevinc
address@hidden #339] 

I think you nailed the debugging.


--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]