Re: Only some group members can sudo -l

Johnnie W Adams <[email protected]> Mon, 14 Mar 2022 14:37:38 -0500
Newsgroups gmane.comp.tools.sudo.user
Message-ID <CAGfWJCMvExA_mq99yFdZ7FvuYnNVtr4Hbg8fbVYkYrZyUw6Dqg@mail.gmail.com>
That did make it work. Thanks!

I realize I'm sliding out of scope, but: What other log files would you
check?

On Mon, Mar 14, 2022 at 12:11 PM Todd C. Miller <[email protected]> wrote:

> On Mon, 14 Mar 2022 11:49:43 -0500, Johnnie W Adams wrote:
>
> >      Or presumably do other sudo things, but that's where I'm stuck. My
> > only clue is that the two users who can sudo -l have 2xxx UID/GIDs,
> whereas
> > all the others have 65xxx GIDs.
> >
> >      I'm using version 1.8.29 on RHEL 8.5.
> >
> >       The command line error:
> >
> > ~]$ sudo -l
> >
> > sudo: PAM account management error: Permission denied
> >
> >       The /var/log/secure entry:
> >
> > Mar 14 11:45:10 degreeworksapp4 sudo[69765]:    <user> : PAM account
> > management error: Permission denied ; TTY=pts/0 ;
>
> Since there seems to be a problem with PAM account management, you
> could try disabling that in sudoers.  For example:
>
> Defaults !pam_acct_mgmt
>
> and see if that makes a difference.  You may be able to find more
> information about the PAM failure in one of the other log files.
>
>  - todd
>


-- 
John Adams
Senior Linux/Middleware Administrator  | Information Technology Services
+1-501-916-3010 | [email protected] | http://ualr.edu/itservices
*UA Little Rock*

Reminder:  IT Services will never ask for your password over the phone or
in an email. Always be suspicious of requests for personal information that
come via email, even from known contacts.  For more information or to
report suspicious email, visit IT Security
<http://ualr.edu/itservices/security/>.
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users