Re: 'sudo su' Permission denied [Solved]
Hi, it's really due to pam_wheel for su. I added root to group wheel then
"sudo su" works perfectly. I previously also used pam_rootok, which is
however, beyond pam_wheel. The pam_wheel has requisite control flag. So
pam_rootok will not be executed if root is not in the group wheel. Thank
you.
Qian
On Tue, 22 Oct 2002, Colin Watson wrote:
> On Tue, Oct 22, 2002 at 10:02:48AM +0200, Q. Gong wrote:
> > I maybe found the reason. This is due to PAM. I restricted that only
> > users in group wheel can use su. But root is not in wheel.
>
> You could use the pam_rootok module to allow root to su in spite of
> that.
>
Reply to: