看板 FreeBSD 關於我們 聯絡資訊
我的freebsd是8.2-RELEASE squid是squid-3.1.18 Squid對於來自外部使用的認證方式有很多 其中我安裝時有看到PAM的選項 Google查了一下資料我在 #vi /etc/pam.conf/squid auth required pam_unix.so try_first_pass #vi /usr/local/etc/squid/squid.conf 加入 auth_param basic program /usr/local/squid/libexec/pam_auth auth_param basic children 10 auth_param basic realm My Awesome Squid Cache auth_param basic credentialsttl 1 hour acl KnownUsers proxy_auth REQUIRED http_access allow KnownUsers #squid -k reconfigure cache.log都會出現 ERROR: failed to create PAM authenticator WARNING: failed to release PAM authenticator ERROR: failed to create PAM authenticator WARNING: failed to release PAM authenticator ERROR: failed to create PAM authenticator WARNING: failed to release PAM authenticator ERROR: Unexpected PAM converstaion '3/pam_unix: pam_sm_authenticate: UNIX authentication refused ERROR: Unexpected PAM converstaion '3/pam_unix: pam_sm_authenticate: UNIX authentication refused 有人知道pam_auth該怎麼正確使用嗎?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 112.105.93.212