I mistakenly changed ownership of all files on a CentOS system from root to my login account. I can login but if I su I get:
su: cannot set groups: Operation not permitted
I don't need the system to be fully functional but I do need to su into it for a few days. Since I can log in and I do have permission to the entire system, it seems like the su function can't write to something with groups. If I change this then it will.
Does anyone know what permissions I need to change?