Hi Kai,

Output: ansible xyz.com -a id
xyz.com | SUCCESS | rc=0 >>
uid=10102(rajrawat) gid=59968(oinstall) groups=59968(oinstall),10(wheel)


/etc/log/secure file contents:

Oct  4 23:09:18 xyz sshd[12957]: pam_unix(sshd:session): session opened for
user rajrawat by (uid=0)
Oct  4 23:09:22 xyz sudo: PAM unable to
dlopen(/usr/lib/security/pam_pwquality.so):
/usr/lib/security/pam_pwquality.so: cannot open shared object file: No such
file or directory
Oct  4 23:09:22 xyz sudo: PAM adding faulty module:
/usr/lib/security/pam_pwquality.so

Kindly suggest on what could be the problem.

Thanks & Regards

Rajendra Rawat


On Thu, 4 Oct 2018 at 15:56, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:

> On 04.10.2018 11:47, Rajendra Rawat wrote:
> > I have ran the playbook with -vvvv option.
>
> Bassed on the output i still thing something is missing with the sudoers
> configuration, you need to check logs and configuration.
>
> This will print the groups your user is a member off
>    ansible xyz.com -a id
>
> You should also check the auth/secure log in /var/log/ (I think the file
> is called secure in RHEL realm) it should have some information about
> why user is denied sudo access.
>
> --
> Kai Stian Olstad
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/80db9a8b389e990d505c10dee19c7bb9%40olstad.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGvnwVGsrEVDQKT9%2B7jcdOZS6eWTk0nMeNEjrDdmLer65O4T4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to