centos: su silently fails
- by matteo
On a CentOS server where I'm logged via SSH as root, I do:
su otherusername
where 'otherusername' is the user name of another user, which exists.
It does nothing. After that, I'm still root. whoami returns root, any file I create belongs to root, that is, su just doesn't su.
However it does not give any error message. If I try to su with an invalid user name it does give an error message.
What am I missing??