From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111660.tru64-unix-managers.marc@archive.invalid> From: Ian Wojtowicz Date: Wed, 25 Mar 1998 00:04:03 +0000 To: tru64-unix-managers Subject: SUMMARY: Securing FTP access X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111660 The original question was "Is there a way to disallow FTP users from cd'ing out of their home directories?". The general consensus was that I should use WU-FTPD which allows for exactly this functionality. Thanks to Fredy Villa, Hisham Al-Saad, Ray Bellis, Karl Majer, Steven Johnson for their responses. ian ------------------------------------------ From: Fredy Villa The ftp daemon that almost everyone uses is Wuftp. It allows you to specify relative root directories. e.g. The users thinks they are at root when they are at their home directory. They can't cd anywhere else. Once you have installed wuftp let me know and I will tell you how to restrict users. ------------------------------------------ From: "Hisham Al-Saad" I simply (# chmod 701 ) to any directory which i don't want users to cd to it. When an attemp by a user to cd to any other directory, the system will come up with a permission denied message. Mode on directories looks like this drwx- - - - - x ------------------------------------------ From: Ray Bellis You can do this with the 'guest' mode in the WU FTPD. ------------------------------------------ From: Karl Majer Install wu-ftpd which chroots the user to their home directory. A faq about it is here: http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html and should answer any questions you may have. ------------------------------------------ From: "Steven Johnson (BUS)" You sure are a busy little beaver. Try Washington University's ftpd - wu-ftpd. The users will have a home directory something like this: /home/users/./username The . between /users/ and /username tell wu-ftpd that this is a chroot'd environment and that the user can only go as far back as /home/users/username. - - - - - - - - - - - - | - - - - - - - - - - - - - - - - - - - ian wojtowicz | nation1 http://www.nation1.net i@woj.com ICQ:7652147 | An new country for the info age, run http://woj.com | by the people who know it best: kids - - - - - - - - - - - - | - - - - - - - - - - - - - - - - - - -