[linux-users: 108682] sftp の chroot 先を他のサーバと共有する場合
sekiya_kyuusaku @ yahoo.co.jp
sekiya_kyuusaku @ yahoo.co.jp
2010年 11月 29日 (月) 15:02:35 JST
sftp$B$N(Bchroot$B @ h$rB>$N%5!<%P$H6&M-$9$k>l9g!"(B
(chroot$B @ h(B)/dev/log$B%=%1%C%H$O6&M-$9$k$3$H$,$G$-$J$$!)(B
1$BBf$N%5!<%P$+$i$7$+%m%0$,=PNO$5$l$J$$$/$F:$$C$F$$$^$9!#(B
$B8=:_(BWEB$B%5!<%P(B2$BBf$r9=C[$7$F$$$^$9!#(B
$B%3%s%F%s%DNN0h$O(BNAS$B%9%H%l!<%8$G(B
2$BBf$N(BWEB$B%5!<%P$N(B/var/www/hoge.co.jp$B%G%#%l%/%H%j$K%^%&%s%H$7$^$9!#(B
$B$=$7$F(B/var/www/hoge.co.jp$B$r(Bchroot$B @ h$N%G%#%l%/%H%j$K @ _Dj$7$F$$$^$9!#(B
syslog$B$O;HMQ$;$:$K(B
syslog-ng$B$rMxMQ$7$F$$$^$9$,!"(B
/var/www/hoge.co.jp/dev/log
$B%=%1%C%H$r:n$k$h$&$K @ _Dj$rF~$l$F$$$F!"(Bsyslog-ng$B$r5/F0$9$k$H%=%1%C%H$O:n @ .$5$l$^$9!#(B
$B%m%0$b @ 5>o$K=PNO$O$5$l$^$9!#(B
$B$?$@!"$3$3$,LdBj$J$N$G$9$,!"(B
$BJRB&$N%5!<%P$N$_%m%0$,=PNO$5$l$k>uBV$G$9!#(B
$B>u67$H$7$F$O(B
$B8e$K(B($BD>6a$G(B)syslog-ng$B$r5/F0!"$^$?$O:F5/F0$7$?B&$N%5!<%P$+$i$O%m%0$,=PNO$5$l$^$9!#(B
$B$J$s$H$J$/$G$9$,!"D>6a$K(Bsyslog-ng$B$r5/F0$7$?B&$N%5!<%P$,(B
/var/www/hoge.co.jp/dev/log$B$r @ jM-!"$^$?$OGSB>@)8f$7$F$7$^$&$h$&$JF0$-$K;W$($^$9!#(B
$BN>J}$N%5!<%P$O(B/var/www/hoge.co.jp/dev/log$B$r%=%1%C%H$H$7$FG'<1$G$-$F$$$k$h$&$G$9!#(B
[netstat -na $B$N7k2L(B]
$B-!(BWEB$B%5!<%P(B1$B9f5!(B
unix 2 [ ACC ] STREAM LISTENING 6254205 /var/www/hoge.co.jp/dev/log
$B-"(BWEB$B%5!<%P(B2$B9f5!(B
unix 2 [ ACC ] STREAM LISTENING 6040963 /var/www/hoge.co.jp/dev/log
$B$3$NF0$-$, @ 5>o$G$"$l$P$7$g$&$,$J$$$N$G$9$,!%!%!%(B
$B$J$K$+2r7h:v(B($B%5!<%PKh$K%m%0$r=PNO$5$;$?$$(B)$B$,$"$l$P$465<x$/$@$5$$!#(B
$B$h$m$7$/$*4j$$$7$^$9!#(B
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://listserv.linux.or.jp/pipermail/linux-users/attachments/20101129/3bf29886/attachment.htm>
linux-users メーリングリストの案内