[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

FTP security

Hi,

I've got some users that have to upload data to a directory but I would like to prevent them from accessing other directories (sort of chroot to their home-dir). I've given them /usr/bin/false as shell so that they cannot login but they still have "full" access via ftp.
I'm using WU-FTPd on Solaris 2.6

N.
0
nrosier
Asked:
nrosier
1 Solution
 
thoellriCommented:
chmod their "homedirectories" to 700 and only they 9and root) will be able to see the contents and write into the directories. They won't be able to see/read/write into other users directories. Of course, this means that every user has it's own home-directory.

Tobias

0
 
chris_calabreseCommented:
What you want to do is put these users into the 'guest' class in the ftpaccess file.  This actually does chroot() them into their home directories.  Since there are various ways of making this work, I suggest you go to the wu-ftpd docs for more info.  Or you might want to check out _Managing_Internet_Information_Services by Liu, Peek, Jones, Buus, and Nye, and published by O'Reilly.
0
 
nrosierAuthor Commented:
Thanx a lot, after searching the manual I found it.

N.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now