How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Folders ¾×¼¼½º ¹æ¹ý¿¡ ¾øÀ½ Ȩ µð·ºÅ丮 (chroot·Î) ÆÄÀÏ ¹× Æú´õÀÇ FTP »ç¿ëÀÚ¸¦ Çã¿ëÇϵµ·Ï

FTP server service on a host that comes with advanced web hosting package such as VPS (Virtual Private Server), VDS (Virtual Dedicated Server), hybrid server, or dedicated server, regardless of whether it¡¯s powered by proftpd, vsftpd, or pure-ftpd, etc., usually been set up and configured by default to restrict and jail the FTP users to have only limited access to files and folders located within their own home directory. °í±Þ À¥ VPS (°¡»ó »ç¼³ ¼­¹ö), VDS (°¡»ó Àü¿ë ¼­¹ö), ÇÏÀ̺긮µå ¼­¹ö ¶Ç´Â Àü¿ë ¼­¹ö È£½ºÆÃ ÆÐŰÁö¿Í ÇÔ²² Á¦°ø°ú °°Àº È£½ºÆ®¿¡ FTP ¼­¹ö ¼­ºñ½º¿¡ ÀÇÇØ Á¦°ø ¿©ºÎ¿¡ °ü°è¾øÀÌ ±×°ÍÀÇ, vsftpd, proftpd ¶Ç´Â ¼ø¼ö - ftpd, µî, ÀϹÝÀûÀ¸·Î ¼³Á¤ ¹× ±âº» ÀÇÇØ Á¦ÇѰú °¨¿Á¿¡ FTP »ç¿ëÀÚ ±¸¼º ÆÄÀÏ ¹× Æú´õ Ȩ µð·ºÅ丮 ³»¿¡ À§Ä¡ÇÑ Àڽſ¡°Ô¸¸ Á¦ÇÑÀûÀ¸·Î Á¢±ÙÇØ¾ßÇÕ´Ï´Ù. The restriction is set by chroot directive where FTP users are locked within chrooted folder, normally their home folder. Á¦ÇÑ chroot·Î Áö½Ã¹®À» ¾îµð¿¡ FTP »ç¿ëÀÚ chrooted Æú´õ ³»¿¡ °¤ÇôÀÖ´Ù, ÀϹÝÀûÀ¸·Î ÀÚ½ÅÀÇ È¨ Æú´õ·Î ¼³Á¤µË´Ï´Ù.

If FTP users need to access or change to another folders out of chrooted home directory, they have to be allowed to access other directories and files by disabling chroot control. ¸¸¾à¿¡ ¾×¼¼½ºÇϰųª chrooted FTP »ç¿ëÀÚ È¨ µð·ºÅ丮 ¹ÛÀÇ ´Ù¸¥ Æú´õ·Î º¯°æÇÒ Çʿ䰡, ±×µé chroot·Î ÄÁÆ®·ÑÀ» ÇØÁ¦ÇÏ¿© ´Ù¸¥ µð·ºÅ丮¿Í ÆÄÀÏ¿¡ ¾×¼¼½ºÇÒ ¼ö ÀÖ¾î¾ßÇÕ´Ï´Ù. Disable chroot will allow FTP users to break out the chroot to go to directory in different location. ÇØÁ¦ chroot·Î FTP »ç¿ëÀÚ µð·ºÅ丮¸¦ ´Ù¸¥ À§Ä¡¿¡ °¥ ¼ö ÀÖµµ·ÏÇϱâ À§ÇØ chroot·Î ³ª°¡±â¸¸ÇϸéµÈ´Ù.

To disable chroot cage for FTP users in their home directories, locate the chroot configuration in FTP server configuration file and set the value to ¡°NO¡±. FTP ¼­¹ö ±¸¼º¿¡¼­ ÀÚ½ÅÀÇ È¨ µð·ºÅ丮¿¡ÀÖ´Â ÆÄÀÏÀ» ã½À´Ï´Ù chroot·Î ±¸¼º FTP »ç¿ëÀÚ¿¡ ´ëÇÑ chroot·Î »õÀåÀ» ÇØÁ¦ÇÏ·Á¸é ±×¸®°í NO "°ªÀ» ¼³Á¤". Some directive name and configuration file name with its location for common FTP server software is listed below. ÀÏ¹Ý FTP ¼­¹ö ¼ÒÇÁÆ®¿þ¾î¸¦À§ÇÑ ÀÚ»çÀÇ À§Ä¡¿Í ¾î¶² Áö½Ã¾î À̸§°ú ±¸¼º ÆÄÀÏ À̸§À» ¾Æ·¡¿¡ ³ª¿­µÇ¾îÀÖ½À´Ï´Ù.

Pure-FTPd : /etc/pure-ftpd.conf ¼ø¼ö - FTPd °è¿­ : / etc / ¼ø¼ö - ftpd.conf

ChrootEveryone=NO ChrootEveryone = NO¸¦

ProFTPd : /etc/proftpd.conf proftpd °è¿­ : / etc / proftpd.conf

DefaultRoot ~ (delete this line) DefaultRoot ~ ()ÀÌ ÁÙÀ» »èÁ¦

VSFTPd : /etc/vsftpd.conf VSFTPd °è¿­ : / etc / vsftpd.conf

chroot_local_user=NO chroot_local_user = NO¸¦

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. Áß¿ä :ÀÌ ±â°è´Â "º¸Áõµµ¾øÀÌÀÖ´Â ±×´ë·Î"Á¦°øµË´Ï´Ù ÆäÀÌÁö¸¦ ¹ø¿ªÇß´Ù. Machine translation may be difficult to understand. ±â°è ¹ø¿ªÀ» ÀÌÇØÇϱ⠾î·Á¿ï ¼öÀÖ½À´Ï´Ù. Please refer to À» ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù original English article ¿ø·¡ ¿µ¾î ¹®¼­ whenever possible. ¾ðÁ¦µç °¡´ÉÇÕ´Ï´Ù.

Share and contribute or get technical support and help at °øÀ¯¿Í ±â¿©Çϰųª ±â¼ú Áö¿ø°ú¿¡ µµ¿òÀÌ My Digital Life Forums ³» µðÁöÅÐ »ýȰ Æ÷·³ . ÇÕ´Ï´Ù.



3 Responses to ¡°How to Allow FTP Users to Access to Out of Home Directory (chroot) Files and Folders¡± 3 ´äº¯Àº "¾î¶»°Ô ±³Åë¿¡ ¾øÀ½ Ȩ µð·ºÅ丮 (chroot·Î) ÆÄÀÏ ¹× Æú´õ"ÀÇ FTP »ç¿ëÀÚ°¡ Çã¿ëµÇµµ·Ï

  1. Sean wayne ¼ð ¿þÀÎ
    January 20th, 2008 00:42 1 ¿ù 20 ÀÏ 2008 0½Ã 42ºÐ
    1

    You know that you can, mount –bind a directory so users are chroot for security but still allow them to access some more directorys outside their chroot. ´ç½ÅÀ» ±×·¸°Ô žÀçÇÒ ¼ö - ¹ÙÀεù µð·ºÅ丮 ±×·¡¼­ »ç¿ëÀÚ°¡ º¸¾È¿¡ ´ëÇÑ chroot·ÎÇϰí ÀÖÁö¸¸ ¿©ÀüÈ÷ ±×µé chroot ¹Ù±ù directorys¿¡ ¾×¼¼½ºÇÒ ¼ö ÀÖµµ·Ï Á» ´õ ¾Ë¾Æ.

    Heres the link to it. Heres ±×°ÍÀ» À§ÇØ ¸µÅ©¸¦ Ŭ¸¯ÇϽʽÿÀ.

  2. Sean wayne ¼ð ¿þÀÎ
    January 20th, 2008 00:43 1 ¿ù 20 ÀÏ 2008 0½Ã 43ºÐ
    2

    http://www.vinno.net/linux/server/chroot-mount-trick
    Ops didnt work. ±×¶§ º»ºÎ. Here it is again: ¿©±â ¶ÇÀÖ´Ù : http://www.vinno.net/linux/server/chroot-mount-trick

  3. Yorick ¿ä¸¯
    April 7th, 2008 18:37 2008³â 4¿ù 7ÀÏ 18:37
    3

    Hi i tried that chroot_local_user=NO ¾È³çÇϼ¼¿ä Àú´Â = NO¸¦ ±× ³ë·Â chroot_local_user

    im using vsftpd on ubuntu 7.10 desktop. ¿ìºÐÅõ 7.10 ÀνºÅÏÆ® ¸Þ½ÅÀú¸¦ »ç¿ëÇÏ¿© ¹ÙÅÁ È­¸é¿¡ vsftpd. I changed the conf file like before then restarted the server and from another desktop logged in as a localuser. ´ÙÀ½ ¼­¹ö¸¦ ´Ù½Ã ½ÃÀÛÇϱâ Àü¿¡ ´Ù¸¥ ¹ÙÅÁ È­¸é¿¡¼­Ã³·³ confÀÇ ÆÄÀÏÀÌ º¯°æ¿¡ ·Î±×¿Â localuser. when i typed ls -l it still only shows that users home directory..Please help im so new to linux ¾ÆÁ÷ ¶§ ÀÔ·ÂÇÑ »ç¿ëÀÚ¸¸À» º¸¿©ÁÖ´Â °Ç°¡¿ä - ³­ Á¤¸» »õ·Î¿î ¸®´ª½º ¸Þ½ÅÀú Ȩ µð·ºÅ丮 ... Á¦¹ß µµ¿Í

Leave a Reply ȸ½ÅÀ» ³²°ÜÁÖ¼¼¿ä

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> ÀÌ·¯ÇÑ ÅÂ±× : title="">Àº <a href="" »ç¿ëÇÒ ¼öÀÖ½À´Ï´Ù <abbr title=""> <acronym title="">ÀÇ <b> <blockquote cite=""> <cite>ÀÇ <code> <¹ã ³¯Â¥ = "">Àº <em>°¡ <i> <q cite=""> <strike>ÀÇ <strong>

Subscribe without commenting ÄÚ¸àÆ®¸¦ ±¸µ¶ÇÏÁö ¾Ê°í


Custom Search

New Articles »õ ¹®¼­

Incoming Search Terms for the Article ¿¡ ´ëÇÑ °Ë»ö ¾à°ü¹Þ´Â Á¦

chroot proftpd chroot·Î proftpd - - pureftpd chroot chroot·Î pureftpd - - proftpd allow Symlinks ½Éº¼¸¯ ¸µÅ©¸¦ Çã¿ë proftpd - - vsftpd symlink vsftpd ½Éº¼¸¯ ¸µÅ© - - proftpd chroot proftpd chroot·Î - - ftp allow FTP¸¦ Çã¿ë - - proftpd symlink proftpd ½Éº¼¸¯ ¸µÅ© - - pure-ftpd chroot ¼ø¼ö - ftpd chroot·Î - - pureftp chroot chroot·Î pureftp - - limted users to home directory for ftp FTPÀÇ È¨ µð·ºÅ丮¸¦ Limted »ç¿ëÀÚ - - one shared folder for multiple vsftpd users ÇϳªÀÇ Æú´õ¸¦ °øÀ¯ÇÏ´Â »ç¿ëÀÚ¸¦À§ÇÑ ¿©·¯ vsftpd - - "vsftpd symlink "½Éº¼¸¯ ¸µÅ© vsftpd - - how to give the FTP access to user on another user directories ? ´Ù¸¥ »ç¿ëÀÚ µð·ºÅ丮¿¡ »ç¿ëÀÚ¿¡°Ô ¾î¶»°Ô FTP Á¢±ÙÀ» ÁÖÁÒ? - - linux vsftpd multiple directories ¸®´ª½º´Â ´ÙÁß µð·ºÅ丮 vsftpd - - linux allow link in ftp chroot ¸®´ª½º FTP¸¦ chroot¿¡¼­ ¸µÅ©¸¦ Çã¿ë - - pureftp restrict users to home directory pureftp Ȩ µð·ºÅ丮¸¦ »ç¿ëÀÚ°¡ Á¦ÇÑÇÒ - - pure-ftpd symlink chroot ¼ø¼ö - ftpd ½Éº¼¸¯ ¸µÅ© chroot·Î - - pure-ftpd symlinks chroot ¼ø¼ö - ftpd ½Éº¼¸¯ ¸µÅ©¸¦ chroot·Î - - symlink ftp ½Éº¼¸¯ ¸µÅ©¸¦ ftp - - to chroot a ftp user in his home directory in linux ¸®´ª½º¿¡¼­ ÀÚ½ÅÀÇ È¨ µð·ºÅ丮¿¡ÀÖ´Â FTP »ç¿ëÀÚ chroot·ÎÇÏ´Â - - google ftp user chroot proftpd ±¸±Û FTP »ç¿ëÀÚ chroot·Î proftpd - - allow users to access files by ftp FTP »ç¿ëÀÚ¿¡ ÀÇÇØ ÆÄÀÏ¿¡ ¾×¼¼½ºÇÒ ¼ö ÀÖµµ·Ï - - chroot windows ftp chroot·Î À©µµ¿ìÁî FTP - - ftp mybook windows FTP¸¦ myBook â¹® - - ftp restrict access to folder FTP Æú´õ¿¡ ´ëÇÑ ¾×¼¼½º¸¦ Á¦ÇÑÇÒ - - how to allow ftp access FTP ¾×¼¼½º¸¦ Çã¿ëÇÏ´Â ¹æ¹ý - - linux give user ftp access to website ¸®´ª½º »ç¿ëÀÚÀÇ FTP »çÀÌÆ® ¾×¼¼½º ±ÇÇÑÀ» ºÎ¿©ÇÒ - - lock user in home but allow access to another directory °¡Á¤¿¡¼­ ÀÚ¹°¼è¸¦ »ç¿ëÀÚ ¼ö ÀÖÁö¸¸ ´Ù¸¥ µð·ºÅ丮¿¡ ´ëÇÑ Á¢±ÙÀ» - - lock ftp user to hone directory vsftpd FTP »ç¿ëÀÚ vsftpd µð·ºÅ丮 Àá±ÝÀ» ¿¬¸¶ÇÏ´Â - - mput+issue+from+proftpd mput + ¹®Á¦ +¿¡¼­ + proftpd - - proftpd follow symlink ½Éº¼¸¯ ¸µÅ©¸¦ µû¶ó proftpd - - pure-ftp access ftp via internet explorer Internet Explorer¸¦ ÅëÇØ ¼ø¼öÇÑ - FTP ¾×¼¼½º¸¦ ftp - - symlink ftp server ½Éº¼¸¯ ¸µÅ©°¡ FTP ¼­¹ö - - ubuntu vsftpd tricks shared folders ¿ìºÐÅõ vsftpd Æ®¸¯ °øÀ¯ Æú´õ - - ubuntu + ftp users folder ¿ìºÐÅõ + FTP »ç¿ëÀÚ Æú´õ - - ubuntu vsftpd share different folders ¿ìºÐÅõ vsftpd ´Ù¸¥ Æú´õ °øÀ¯ - - vsftpd unable to delete files ÆÄÀÏÀ» »èÁ¦ÇÏÁö ¸øÇÒ vsftpd - - vsftpd symlinks vsftpd ½Éº¼¸¯ ¸µÅ© - - +"how to access" +directory +server + "¾×¼¼½ºÇÏ´Â ¹æ¹ý"+ µð·ºÅ丮 + ¼­¹ö - - allow ftp access FTP ¾×¼¼½º¸¦ Çã¿ë - - allow user for ftp on linux Çã¿ë ¸®´ª½º¿¡¼­ ftp¸¦À§ÇÑ »ç¿ëÀÚ - - directory access µð·ºÅ丮 ¾×¼¼½º - - ftp enable users linux FTP »ç¿ëÀÚ ¸®´ª½º Ȱ¼ºÈ­ - - ftp symlink FTP¸¦ ½Éº¼¸¯ ¸µÅ© - - ftp restrict user to home directory vsftpd Ȩ µð·ºÅ͸®ÀÇ FTP »ç¿ëÀÚ¸¦ Á¦ÇÑÇÒ vsftpd - - ftp user directory restriction FTP »ç¿ëÀÚ µð·ºÅ丮 Á¦ÇÑ - - ftp access user home directory FTP ¾×¼¼½º »ç¿ëÀÚ È¨ µð·ºÅ丮 - - home directory ñéÙþ Ȩ µð·ºÅ丮ñéÙþ - - how to access ftp link directory ¸µÅ©¿¡ ¾×¼¼½ºÇÏ´Â ¹æ¹ýÀ» µð·ºÅ͸®ÀÇ FTP - - linux ftp control access to directories ¸®´ª½ºÀÇ FTP µð·ºÅ丮¿¡ ´ëÇÑ ¾×¼¼½º¸¦ Á¦¾îÇÒ ¼ö - -