Centos – /bin/su: Permission denied in CentOS can not set su – root


I'm trying to set myself as a root and once I type in su - root in the terminal it just give me an error saying /bin/su: Permission denied so I checked the permission in that file

-rwsr-x--- 1 root wheel 24120 Mar 30 2011 su*

I'm wondering why I can't use this I'm trying to install some plugin and it asks me to use root thats why I needed it.

Best Answer

you need to be a member of the wheel group. This restricts su logins to "trusted" users