In my new Gentoo installation, su doesn't work as my non-root user: After entering the correct password I get the message su: Permission denied. What could be causing this? I have already tried reinstalling the package containng /bin/su.EDIT: sudo works.
su: Permission denied despite correct password
permissions;su
I solved the same problem by editing /etc/pam.d/suand commenting out this line:auth       required     pam_wheel.so use_uidIt requires users to be in the wheel group to be able to switch user.User switching as non-root works again when this pam module is disabled for su.