Centos : su: incorrect password after bash update

A few days ago I’ve updated the bash to patch it agains Shellshock and since then I cannot su - root from my regular ‘wheelgroupuser’ account on Centos 6.5 with WHM.

I’m constantly getting su: incorrect password – even though I know for sure that the password is correct.

I have Password Authorization disabled and shell is only enabled with ssh keys. The account I’m using to connect to the server is in the wheelgroup and was working absolutely fine until the bash update took place. I could easily switch to root user using su - root – but not now.

I’ve also tried sudo command – but the same response.

Any idea what needs to be done to solve this problem. I’ve seen several tickets all over the internet, but none of them is referring to the same scenario as mine.

Any help would be very much appreciated.

Answer

Just curious to know if you can ssh as a root user?

If so, try resetting the /bin/su permissions to root:root!

Attribution
Source : Link , Question Author : Sebastian Sulinski , Answer Author : vembutech

Leave a Comment