[Webinar] Streamline your web hosting managementRegister Today

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

ftp user should not change directory

I'm a linux newbie.
I'm only my own admin. But I'm playing with userrights to learn more about it.
Here is my question:
How to prevent a ftp users from changing to root directory?
the user should only login into his directory including the subdirs.

thanks in advance
mfuerlinger
0
mfuerlinger
Asked:
mfuerlinger
1 Solution
 
j2Commented:
The "normal" ftp daemon doesnt support this. get another one, there are several good ones (glftpd, ncftpd, proftpd, neroftpd) most of them support this feature. But note that the user DOES need read access to other dirs for the ftpd to work.
0
 
mfuerlingerAuthor Commented:
Are you sure normal ftpd (e.g. wuftpd) doesn't support this feature ?

Anyway I tried proftpd (DefaultRoot ~) - works fine !

Thank You j2
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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