1821051 Members
2889 Online
109631 Solutions
New Discussion юеВ

/etc/ftpusers file

 
Brad Hughes
New Member

/etc/ftpusers file

I cannot find an /etc/ftpusers file on my system. I am running HP-UX v.11.0. Is there another file on the HP-UX that I can enter ID's to prevent users from using ftp?

Thanks.
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: /etc/ftpusers file

Hi Brad:

On 11.x you want: /etc/ftpd/ftpusers.

The 'ftpd' daemon will reject remote logins to local user accounts that are named in this file. Each restricted account name must appear alone on a line in the file. In the absence of the file, this check is skipped.

...JRF...

leereg_5
Frequent Advisor

Re: /etc/ftpusers file

Hi Brad:
There is no such file by default.You can creat on with an editor. And creat one contain these users:
root
daemon
bin
sys
adm
lp
uucp
nuucp
listen
nobody
noaccess
nobody4

Then you can append those you want to restrict to use FTP to this file.




HTH

Leereg
Always UNIX!
Ravi_8
Honored Contributor

Re: /etc/ftpusers file

Hi,
In some Unix flavours instead of "ftpusers" "ftp.allow" file exist like in SCO and UNIXWARE. if u didn't find /etc/ftpd/ftpusers file you can create one, and add the users to restrict to do ftp.
never give up