[HPADM] Question: ftp restrict




Hi admins,

I'm configuring ftp restrict on my box HP 11.23.
($)uname -r ==> B.11.23
($)model ==> 9000/800/rp4440
($)swlist -l fileset | grep -i ftp
PHNE_32675 1.0 bootpd(1M)/DHCP, tftp(1) and
tftpd(1M) patch
PHNE_34698 1.0 ftpd(1M) and ftp(1) patch

After searching the differentes infos I could configure ftp but sans
succes.

What I need is that the user can not go up his home directory so the (cd
/) command have
To be translated on /u/ftp/wwftp.

Passwd declaration:
wwftp:moNQb1QIPv3Bg:8888:20::/u/ftp/wwftp/./:/usr/bin/false
Gtoup declaration : ftponly::111:

/etc/ftp/ftpaccess: upload /u/ftp/wwftp/./ / yes wwftp ftponly
0666 dirs

Look the attahed to see the full ftpaccess file.

Thanks for any help


class all real,guest,anonymous *

limit all 10 Any /etc/msgs/msg.dead

readme README* login
readme README* cwd=*

message /welcome.msg login
message .message cwd=*

compress yes all
tar yes all

log commands real,ftponly,guest
log transfers anonymous,real,guest,ftponly inbound,outbound
log syslog

# all the following default to "yes" for everybody
delete yes ftponly # delete permission?
overwrite yes ftponly # overwrite permission?
rename yes ftponly # rename permission?
chmod yes ftponly # chmod permission?
umask yes ftponly # umask permission?

# specify the upload directory information

upload /u/ftp/wwftp/./ / yes wwftp ftponly 0666 dirs

shutdown /etc/shutmsg

# specify which group of users will be treated as "guests".
guestgroup guest ftponly