cancel
Showing results for 
Search instead for 
Did you mean: 

ftp

SOLVED
Go to solution
G.Kumar
Frequent Advisor

ftp

Hi ;

I have a question.I am trying to restrict one user to access only his home directory when he use ftp.I am using the home directory entry as
" /home/user1/. " in /etc/passwd.. still when logs with ftp he is able to change his directory.I am using rsh as his shell.

Any suggestions ?Am i doing a wrong set up.
Any help ?


Thanks in advance

5 REPLIES
Wodisch
Honored Contributor

Re: ftp

Hello,

basically the answer is: you cannot! At least: not with
the ftpd delivered with HP-UX.
YOu could try to get another ftpd, there are some with
that kind of feature...

HTH,
Wodisch
Santosh Nair_1
Honored Contributor

Re: ftp

Actually, if the machine is running HPUX 11.0 then you can do this. Basically, HPUX 11.0's ftp daemon is an older version of wu-ftpd, which has the ability to chroot a user.
Take a look at the ftpd and ftpaccess man pages for more details.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
A. Clay Stephenson
Acclaimed Contributor

Re: ftp

If you are running 11x then you are running wuftp. You can make a passwd entry to force a chroot to a directory then a chdir to a desired directory. Man ftpaccess for details on how to do this.

Clay
If it ain't broke, I can fix that.
someone_4
Honored Contributor
Solution

Re: ftp

Hello I have attached a doc that should help

Richard
G.Kumar
Frequent Advisor

Re: ftp

thanks to all.

Richard's document has helped me.Thank you.

My problem was a wrong entry in ftpaccess

thanks again
GK