Operating System - HP-UX
1753356 Members
5300 Online
108792 Solutions
New Discussion юеВ

Re: Restricting FTP Access

 
SOLVED
Go to solution
Suren Selva_1
Advisor

Restricting FTP Access

Hello,

I need to setup an FTP Access file so that only the root and admin users can login to the system and deny access to all regular users.

How can I configure the FTP access file to do that?

Thank You,
Suren Selva
Live and let live!
4 REPLIES 4
Helen French
Honored Contributor

Re: Restricting FTP Access

Check this man page:

# man ftpusers

Create ftpusers under /etc/ftpd directory.
Life is a promise, fulfill it!
Jim Mallett
Honored Contributor
Solution

Re: Restricting FTP Access

You can create a file /etc/ftpd/ftpusers, any account contained in this file will not be allowed to use ftp.

See man ftpusers for details, and be careful of the permissions on the file.

Jim
Hindsight is 20/20
E. Wong
Frequent Advisor

Re: Restricting FTP Access

create /etc/ftpusers file and put in each line the logins you do NOT want to be able to ftp.

compute, therefore you are
Tim Adamson_1
Honored Contributor

Re: Restricting FTP Access

Create the /etc/tfpd/ftpusers file and place all users you DONT want to use ftp in there.

Remember to add any new accounts that are not required to use ftp. A bit of an administration headache!


Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.