Alan Feuerbacher wrote:
In BLFS systemd version 8.0:
Until a few days ago, the commands "sudo -E" and "su root" did what I
expected: they preserved the environment of the original user. Now they
don't, so I've tried to debug what's going on.
For example, I would think that "sudo -E printenv" would return exactly
the same parameters as just "printenv". Isn't that correct?
Not completely. functions are not passed and PATHs are different
according to the policy set in the sudoers config file, even with -E.
Also, the EUID, USER, etc are different.
Also until a few days ago, the ldap daemon slapd was running ok, it appears.
Then I started cleaning up various configuration files, using the BLFS
book and various online resources. Now, after many changes, the slapd daemon
appears not to be working correctly. I suspect that this may be the cause
of the "sudo" and "su" problems.
Sorry, but I don't have any significant experience with ldap in this
environment. Perhaps someone else will help.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page