centos: su silently fails
Posted
by
matteo
on Server Fault
See other posts from Server Fault
or by matteo
Published on 2012-06-10T22:01:10Z
Indexed on
2012/06/10
22:41 UTC
Read the original article
Hit count: 333
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??
© Server Fault or respective owner