linux training in Thailand
| Home | Articles | Download | Free Linux Tips | Resources | Training | Web Link | Linux Training English|
| Courses | Schedule | Price & Promotion | Map | Customer Ref. | Instructors | Certification | FAQ | Registration Form |
ʶҺѹ 駻Դӡҧѹ 27 -31 áҤ 2558 Դӡûѹ 3 ԧҤ 2558
We are on vacations 5 days in July 27-31, 2015 Please contract Line ID : nok_fly or e-mail : info@itdestination.com
ITDestination лԴѺا䫵 ѹ 7 - 9 Զع¹ 2556
Ҩзҹ㹺ԡ Webboard Freetips E-Learning ֧㹤дǡ
ʶҺѹ 駻Դӡѹ 22-28 Ҿѹ 2560 ШԴӡûѹ 1 չҤ 2560
óյԴ觢ͤҷ Facebook: LinuxITDestination e-mail: info@itdestination.com 觨еԴ͡Ѻҳ 17.00 .
ŧ¹ͺöӢͺ online 㹪ǧͺͷǹ ӡѴӹǹ բ·١ͧй
ͺ´ 089 890-5494 >>> ҹ´...



ѷ ʵ ,RHCE

mysquid_auth ?
mysquid_auth proxy authentication سѵԴҹõǨͺʼҹͧҹԹ絼ҹ Squid Proxy Server
ͧǡѺ÷ proxy authenticate
Proxy Authentication ӧҹѺ Squid 繨ӹǹҡ դسѵ ෤ԤԸաõǨͺԷԢͧҹҧѹ͡ ncsa_auth ѭªͼкѺ Shadow password ͧк ( /etc/shadow )
mysquid_auth ᵡҧҡ 㹪Դǡѹҧúҧ?
    բᵡҧҡ
  • ªͼ繢ͧͧ¡͡ҡ ֧Ѻ
  • 繵ͧ set uid 繡Դͧҹʹ¢ͧк
  • աúѹ֡ Log ¡͡ҡ log file ͧ Squid öǨͺ¡
鹵͹õԴҹ mysquid_auth
  1. ҧ礷 /mySquid_Auth
  2. Ѵ͡ mySquid_Auth ŧ礷
  3. ҧ /mySquid_Auth/users.txt 纪 user password ٻẺ 1 user 1 ÷Ѵ ѧҧ
                   	user1   password1
    	user2   password2
    	user3   password3
    
  4. Ǩ permission ͧ mySquid_Auth ͧö Execute ( 755 繤һá )
  5. ͹סͧ Squid ( /etc/squid/squid.conf ) 㹷ѧҡ squid ӧҹ繻á
  6. 䢺÷Ѵ authentication_program ѧ
    	authentication_program /mySquid_Auth/mySquid_Auth
    
  7. źͧ # ˹Һ÷Ѵͤ authenticate_children 5 ͡
  8. źͧ # ˹Һ÷Ѵͤ acl password proxy_auth REQUIRED ͡
  9. Һ÷Ѵͤ http_access allow localhost ͤ 1 ÷Ѵ
    	http_access allow password all
    
  10. ѹ֡ squid.conf ʵ squid ա
  11. ͧԴ䫵ҹ squid лҡͺͺ͹ username password ʴ mySquid_Auth 鹷ӧҹ
Ѻ˹Һ