1832870 Members
5066 Online
110048 Solutions
New Discussion

ftp: access restriction

 
SOLVED
Go to solution
Insu Kim
Honored Contributor

ftp: access restriction

If a normal user opens a ftp connection, he/she first sits on his/her home directory and is able to change his/her home working directory to upper directory.

I'd like to restrict a user to access upper directory with "cd .."

Is it possible and if it is, how ?

Thank you in advance.
Never say "no" first.
4 REPLIES 4
Michael Tully
Honored Contributor
Solution

Re: ftp: access restriction

Hi,

If you can't use the accounts as restricted,
you could try setting 'ftpaccess' config. There
is a man page for this. If this is not what
you are after suggest you look at 'wu_ftpd'
from the porting centre.

http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/

HTH
-Michael
Anyone for a Mutiny ?
James R. Ferguson
Acclaimed Contributor

Re: ftp: access restriction

Hi:

Look look at the man pages for 'ftpaccess' (man 4 ftpaccess). Setting up the /etc/ftpd/ftpaccess file with the 'guestgroup' item will provide you the ability you seek.

This functionality is represented in 11.x versions of ftp as based on Washington University's version of ftp. It is thus known as "wu-ftp". If you are running 10.x, you can obtain a copy from one of the HP-UX porting centers, like:

http://hpux.cs.utah.edu/

Regards!

...JRF...

S.K. Chan
Honored Contributor

Re: ftp: access restriction

Sanjay_6
Honored Contributor

Re: ftp: access restriction

Hi,

You can setup restricted ftp access using ftpacces. Do a "man ftpaccess" for more info. You can also use this link to try out the ftpaccess configuration,

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=490ecc1407f9206962/screen=ckiDisplayDocument?docId=200000055935266

Hope this helps.

Regds