1833996 Members
2413 Online
110063 Solutions
New Discussion

FTPACCESS

 
ramesh_6
Frequent Advisor

FTPACCESS

Hi,

I am running B.11.00. One of my user wants to have an FTP account with some special settings.

He wants to allow only one IP address to access the ftp server with the created FTP account. Is there a way we can configure the same using ftpaccess file?

Any help strongly appreciated.
3 REPLIES 3
Mark Grant
Honored Contributor

Re: FTPACCESS

Actually a better bet is to use /var/adm/inetd.sec and add an entry for ftp just specifying the ip address of the machine you want to allow access to.
Never preceed any demonstration with anything more predictive than "watch this"
Sridhar Bhaskarla
Honored Contributor

Re: FTPACCESS

Hi,

You can use /var/adm/inetd.sec but it is global and it will restrict ftp access to all the users.

Create a file called ftphosts under /etc/ftpd directory with the following entry

allow user ip_address

Look at the man page of ftphosts.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sundar_7
Honored Contributor

Re: FTPACCESS

Hi Ramesh,

class remote real

Add the above line to your ftpaccess file.

IP address canbe a pattern using wild chars too

Sundar.

Learn What to do ,How to do and more importantly When to do ?