ApachePAMunixAuth

From DrewWiki
Revision as of 01:50, 25 January 2018 by Drew (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
$ sudo yum install mod_auth_pam.x86_64 mod_auth_shadow.x86

http://pam.sourceforge.net/mod_auth_pam/shadow.html

Add to <Directory> or <Location>

    AuthPAM_Enabled on
    AuthShadow on
    AuthType "basic"
    AuthName "Auth"
    require user drew
    #require group blabla

Find safe work around

chmod 440 /etc/passwd

(orig 400)