Installing Gentoo: su permission denied

i can't seem to su. i know i'm typing the correct passwords.

$ su anotheruser
Password: 
su: Permission denied

basically su would allow you to become that user, if you knew that user password. simple.

sudo to become that user without knowing that user password.. sounds strange? but there are many use cases where this is very handy.

i've been using a combination of the two above, all along. till now..

gentoo restricts su to wheel group only.
$ cat /etc/pam.d/su | grep wheel
#auth    required    pam_wheel.so use_uid

i resolved this long outstanding issue, by commenting out that line, thanks to TheJJ @stackexchange.

Installing Gentoo: su permission denied
Frequently Asked Questions: SA2: Why can't I su to root?

No comments:

Post a Comment

most viewed