[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-admin
Subject:    [HPADM] Question: ftp restrict
From:       "BAKHSHESH Kazem" <BAKHSHEK () ESSILOR ! fr>
Date:       2007-11-05 10:43:36
Message-ID: C8AAD39856F8F3479C98F156D83A2B9801DCC0CD () FREM0010 ! essilor ! res
[Download RAW message or body]

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

 

["ftpaccess.txt" (text/plain)]

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

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl

 Archives:  ftp.dutchworks.nl/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic