ApachePAMunixAuth: Difference between revisions
Jump to navigation
Jump to search
(fix syntax for ApachePAMunixAuth) |
No edit summary |
||
Line 11: | Line 11: | ||
AuthName "Auth" | AuthName "Auth" | ||
require user drew | require user drew | ||
#require group blabla | #require group blabla | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 01:50, 25 January 2018
$ 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)