[CentOS] Strange behaviour when using sudo+sh+executable.
radecki.rafal at gmail.com
Wed Sep 7 06:15:57 UTC 2016
At the end it was a sudo misconfiguration:
Defaults log_year, log_host, loglinelen=0,
This line with noexec was problematic ;)
Thanks for the help!
2016-09-07 2:25 GMT+02:00 Steven Tardy <sjt5atra at gmail.com>:
> > On Sep 6, 2016, at 6:18 AM, Rafał Radecki <radecki.rafal at gmail.com>
> > # sudo -H -E -u postgres /bin/bash -c /usr/bin/python2.7
> Works for me. *shrug*
> Is your postgres user a service account or something else strange about it?
> Does 'passwd --status postgres' hint at anything?
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS