1832443 Members
3406 Online
110042 Solutions
New Discussion

Bar ftp based of group

 
yc_2
Regular Advisor

Bar ftp based of group

Hi,

Is there a way to bar ftp based on group basis in HP-UX ?


Thanks in advance,
YC
4 REPLIES 4
Wilfred Chau_1
Respected Contributor

Re: Bar ftp based of group

you may want to setup a ftponly account. Take a look at the man page for ftpd.
ian Dennison
Regular Advisor

Re: Bar ftp based of group

To configure ftp to deny access by group, try using 'ftpaccess' or 'wu-ftp'. 'ftpaccess' is the built-in HP-UX version that can be a little difficult to get right. 'wu-ftp' is a 3rd party product (try the HP Porting Centre) that has received any good reviews from this Forum.

Share and Enjoy! Ian
Lets do it to them before they do it to us! www.fred.net.nz
Systeemingenieurs Infoc
Valued Contributor

Re: Bar ftp based of group

* /etc/ftpusers contains the users that cannot
ftp.

* you could make a script that extract the
members of the banned groups from /etc/passwd
and/or /etc/group

* you can run that script on a regular base
(crontab -e)

Hein Coulier
A Life ? Cool ! Where can I download one of those from ?
Vincent Stedema
Esteemed Contributor

Re: Bar ftp based of group

Hi,

The ftpd that comes with HP-UX 11.00 is (I think) based on wu-ftpd, so it's very similar to set up. If you indeed are running 11.00, you should read the man page for ftpaccess. What you're looking for is the 'deny-gid' directive, which allows you to ban users based on their group membership.

Hope this helps.

Regards,

Vincent