On Mon, Mar 13, 2000 at 01:56:29PM -0400, Augusto Catalan, Network/Internet Supervisor 
wrote:
> 
> I am new to LINUX and am setting up an FTP site for some web developers. Right
> now, if I FTP in with their username/password, I have access to the entire file
> structure. How can I set the file permissions to prohibit the user from
> accessing anything but his local directory.
> 
> TIA for any help.
> Augusto
> 
It depends....
what ftp server are you running?

berkeley ftp?
        find a better daemon

proftpd?
        add the line
        DefaultRoot     ~
        and they can't leave their home directories.

wu-ftpd
        wu-ftpd

        Put all the users in some uid range ( give them UID's starting
        at 5000 (for example). Then if there are 500 of them, put the line

        restricted-uid 5000-5500

        in your /etc/ftp/ftpaccess file or sometimes /etc/wu-ftpd/ftpaccess
        or sometimes /etc/ftpaccess .

I don't really know what else is out there for linux. 

hope this helps.

greg
-- 
dronf!

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs
  • FTP site Augusto Catalan, Network/Internet Supervisor
    • Greg Olszewski

Reply via email to