1832907 Members
3597 Online
110048 Solutions
New Discussion

FTP restrictions

 
Scott Guy
Occasional Contributor

FTP restrictions

OK, I know this question will sound elementary to some of you, but here goes.

I've got users logging into an FTP server for the sole purpose of getting/dropping off files. I've made it so they can only FTP (no telnet or anything else), but I'm stammering around all over trying to get it to where they can not change directories to "parent" directories. For instance, if their home is /home/eagles, that's where they are put initially. But if they do a cd .., they can make it back to /home. If they do another cd .., they make it to root. They can't traverse a different directory, but I don't want them to move, period.

I'm running 10.20, so using ftpaccess (which I've seen many references to for 11x) doesn't appear to be an option.

Any help would be appreciated. I've been trying to connect to docs.hp.com all day today, but having no luck.

Thanks.
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: FTP restrictions

You could look at chroot'ing the users. I think this would accomplish what you need.

man chroot

man 1m chroot
James R. Ferguson
Acclaimed Contributor

Re: FTP restrictions

Hi Scott:

Have a look at the thread in the URL below. 'wu-ftp' is the implementation used in 11.x.

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: FTP restrictions

Hi Scott:

Have a look at the thread in the URL below. 'wu-ftp' is the implementation used in 11.x.

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x715168c57f64d4118fee0090279cd0f9,00.html

...JRF...
Vincenzo Restuccia
Honored Contributor

Re: FTP restrictions