Operating System - HP-UX
1834408 Members
1805 Online
110067 Solutions
New Discussion

setup seperate get and put user

 
David_246
Trusted Contributor

setup seperate get and put user

Hi,
I would like to set up 2 different groups of users that are allowed to only get files from a pecific ftp-dir or to only put files in a specific ftp-dir. The ftp-dirs differ per application, so I need the possibility to define the groups as well. There is something I already found out, but need help:

1) Add to /etc/passwd-file :
put1::100:92:GuestAccount:/ftp/put/./:/etc/ftponly
get1::101:93:GuestAccount:/ftp/get/./:/etc/ftponly

2) Define put user in /etc/ftpd/ftpaccess
noretrieve *
upload /var/ftp * no
upload /var/ftp /ftp/put yes put1 putgrp 660
#!! How do I set it for only 1 group or multpl users ?? especialy looking at the noretrieve cmd.

3) Define get user in /etc/ftpaccess
upload /var/ftp * no
##!! How do I specify the group or multpl users for this rule ??

So in short, I know how to set rules (a little), but how do I make them apply to a specific group? Where do I specify their group ?
Many thanks in advance !!!

Regs David
@yourservice