pam login authorization using both local and winbind

I have a situation where I need the linux server to accept either local password or active directory password. Below is the relevant code from /etc/pam.d/system-auth. The commented out line was how the file was setup before and the line below it shows how it should be setup to allow this functionality. All other setup files are unchanged.

auth required /lib/security/$ISA/pam_env.so auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok #auth sufficient /lib/security/$ISA/pam_winbind.so use_first_pass auth sufficient /lib/security/$ISA/pam_winbind.so auth required /lib/security/$ISA/pam_deny.so

Darla Baker

Darla Baker is the author of the Amazon best-selling novel Eagle Cove (Thalia Chase: Sex Therapist Series, Book One). She is the founder of Stone Soup Community, a non-profit press focusing on helping queer writers market their books.

Darla lives with her wife on the shores of beautiful Lake Cumberland, Kentucky during lake season and on the road in her custom campervan, Dulcinea, the rest of the year. Her adorable staffy, Mati, is always by her side.

https://stonesoupcommunity.com
Previous
Previous

How to set up ssh login with no password