#!/bin/bash
read a
echo user=${a% *} password=${a#* } >/tmp/input
#echo -e "OK";
echo -e "ERR";
squid 設定方式
auth_param basic program /usr/bin/bash /tmp/1.sh
auth_param basic children 5
auth_param basic realm Please enter your proxy server username and password
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
沒有留言:
張貼留言