This *seems* like a bug, but without some confirmation, I can't really
be sure.

su --version
su (GNU coreutils) 8.4

RHEL6

I run sudo -s to get root access, then:

  # su - nallen -c /bin/false && echo ERROR: false is true
  # su - root -c /bin/false && echo ERROR: false is true
  # su - mysql -c /bin/false && echo ERROR: false is true
  # su - splunk -c /bin/false && echo ERROR: false is true
  ERROR: false is true
  # su - postgres -c /bin/false && echo ERROR: false is true
  ERROR: false is true

I do not have a root login, so I cannot test whether this is related to
sudo or not.

I have looked and changed home directory permissions, checked shells,
eliminated .bash_profile and have not yet been able to come up with
anything that distinguishes the splunk and postgres accounts from the
others.

Can anyone else confirm or deny this behavior on a similar system?

Does anyone have suggestions as to what I should investigate?


Reply via email to