On 25 August 2017 at 20:34, Ken Hornstein <kenh(_at_)pobox(_dot_)com> 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.
[kevinc@drums-temp #337] printenv SHELL
/bin/tcsh
[kevinc@drums-temp #338] $SHELL -c "cd&&pwd"
localuser:kevinc being removed from access control list
/home/kevinc
[kevinc@drums-temp #339]
I think you nailed the debugging.
--
Kevin
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers