ApachePAMunixAuth

From DrewWiki
Revision as of 00:30, 25 January 2018 by Drew (talk | contribs) (fix syntax for ApachePAMunixAuth)
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</pre>

Find safe work around

chmod 440 /etc/passwd

(orig 400)