[Comm] su squid ÒÕÇÁÅÔÓÑ

Evgenii Terechkov =?iso-8859-1?q?evg_=CE=C1_krastel=2Eru?=
÷Ô íÁÊ 2 21:41:57 MSD 2006


Vitaly Gorshkov ÐÉÛÅÔ:

> ÐÙÔÁÀÓØ rejik ÐÒÉ×ÅÎÔÉÔØ Ë squid.
> × òÅÖÉËÅ ÅÓÔØ ÔÁËÏÊ ÓËÒÉÐÔ ÄÌÑ ÐÒÏ×ÅÒÉËÉ ËÏÎÆÉÇÕÒÁÃÉÉ
> /usr/local/rejik3/tools/check-redirector
> #!/bin/sh
> su - squid -c "echo \"http://sex.ru 127.0.0.1/- - GET\" |
> /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf;"
> ÏÎ ÒÕÇÁÅÔÓÑ:
> [root ÎÁ gatem tools]#
> ./check-redirector#
> su: exec failed
> Ñ ÔÁË ÐÏÎÑÌ - ÄÅÌÏ ×
> su squid
> ÐÏÞÅÍÕ ÎÅ ÈÏÞÅÔ?

÷ÒÏÄÅ Ó ÍÁÎ su(1) ÄÁÖÅ ÐÏ ÒÕÓÓËÉ ÎÁÐÉÓÁÎÏ, ÞÔÏ ÉÍÑ ÐÏÌØÚÏ×ÁÔÅÌÑ ÎÁÄÏ
ÓÔÁ×ÉÔØ ÐÏÓÌÅÄÎÉÍ.




ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community