|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 47 article |
2001-10-18 23:56:05 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
ƯÁ¤µð·ºÅ丮 binding (ftp) |
|
|
±Û¾´ÀÌ : EcusE (2001³â 10¿ù 12ÀÏ ¿ÀÀü 12:47) ÀÐÀº¼ö: 415
ftp¸¦ ¿î¿µÇÏ°í ÀÖ°í chroot*¸¦ Àû¿ë´Âµ¥ ƯÁ¤ µð·ºÅ丮¸¦ chrootµÈ
µð·ºÅ丮 ¾È¿¡ ³Ö¾î¾ß ÇÒ¶§ ±âÁ¸ÆÄƼ¼ÇÀ̳ª ¸µÅ©¸¦ °Çµå¸®Áö ¾Ê°í
bindingÇÒ¼öÀÖ½À´Ï´Ù.
¾Æ·¡´Â ±¸¼ºµµ(?)ÀÔ´Ï´Ù.
±âÁ¸¼³Á¤ ftp user's root(chroot) ftpÁ¢¼Ó½Ã /home/ftp/pubÀÌ /°¡ µÇÁÒ.
/home/ftp/pub
/var/backupµð·ºÅ丮¸¦ ftp user¿¡°Ô °ø°³ÇÏ°í ½ÍÀ»¶§
ÀÌ»óÅ¿¡¼± Ÿ ÆÄƼ¼ÇÀ» pub¾Æ·¡¿¡ ¸µÅ©¸¦ Çصµ chroot¸¦ ¹þ¾î³¯¼ö°¡
¾ø±â¶§¹®¿¡ ¼Ò¿ëÀÌ ¾ø½À´Ï´Ù.
mount --bind /var/backup /home/ftp/pub/backup À̸í·ÉÀ¸·Î backup
µð·ºÅ丮¸¦ chroot µÇ¾îÁø ftpÀ¯ÀúÀÇ È¨µð·ºÅ丮¿¡ ¸¶¿îÆ®¸¦ ÇÒ¼öÀÖ½À´Ï´Ù.
¸¶¿îÆ®½Ã unrecognized option '--bind' ¸Þ¼¼Áö°¡ ³ª¿Â´Ù¸é
mount¸¦ ¾÷±×·¹À̵带 ÇϽðųª »õÄ¿³ÎÀ» ¹Þ¾Æ¼ ¼³Ä¡Çغ¸¼¼¿ä.
chroot* : ftp¼¹öµî¿¡¼ ƯÁ¤À¯ÀúÀÇ /µð·ºÅ丮¸¦ ƯÁ¤ µð·ºÅ丮·Î Á¦ÇÑ
»óÀ§µð·ºÅ丮³ª ½Ã½ºÅÛ /µð·ºÅ丮·Î Á¢±ÙÇÒ¼ö¾øÀ½.
|
|
Page Loading [ 0.03 Sec ]
SQL Time [ 0 Sec ]
|
|
|