Operating System - HP-UX
1752589 Members
4313 Online
108788 Solutions
New Discussion юеВ

Re: ftp access with restriction for a user and IP source addr

 
SOLVED
Go to solution
Roquevalder C. Oliveira
Occasional Contributor

ftp access with restriction for a user and IP source addr

I would like to setup a userid allowed to ftp to a server, only from a specific IP addr machine. Other userids should remain unchanged, doing ftp from any machine. Does anybody knows if it is possible, using ftpaccess (class parameter) file ?
Advanced thanks for any help
Roque.
2 REPLIES 2
RAC_1
Honored Contributor
Solution

Re: ftp access with restriction for a user and IP source addr

Do not know if you can do that with ftpaccess. But you can do that with ftphosts file. man ftphosts for details.

/etc/ftpd/ftphosts will have entry like this.

allow "user_name" ip_address_from_where_he/she_will_ftp
all "osther_users_on_system" *

A sample file is at /usr/newconfig/etc/ftpd/examples/ftphosts

Anil
There is no substitute to HARDWORK
Roquevalder C. Oliveira
Occasional Contributor

Re: ftp access with restriction for a user and IP source addr

That worked ok. Thanks a lot.
Roque.