1832091 Members
2677 Online
110038 Solutions
New Discussion

ftpusers

 
SOLVED
Go to solution
Vogra
Regular Advisor

ftpusers

Hi all!
I tested the use of ftpusers file and it is not functional. The file owner is root:sys and file mode is 660. How I have to do to restablish this lock?
Thanx.
We are spirits in the material world
3 REPLIES 3
Krzysztof Kielak
Occasional Advisor

Re: ftpusers

ftpd rejects remote logins to local user accounts that are named in /etc/ftpusers. Each restricted account name must appear alone on a
line in the file. The line cannot contain any white space. User accounts that specify a restricted login shell in /etc/passwd should be listed in /etc/ftpusers because ftpd acesses local accounts without using their login shells. UUCP accounts should be listed in /etc/ftpusers. If /etc/ftpusers does not exist, ftpd skips the security check.

check that you satisfy those constrains.

rgds
Chris
Vogra
Regular Advisor

Re: ftpusers

Hi Kielak,
I deleted the original file and created a new one. I putted only one name that I want to disallow to do ftp, but him can do ftp normally. What can go wrong?
We are spirits in the material world
Roger Baptiste
Honored Contributor
Solution

Re: ftpusers

<>

hi,

the ftpusers file should be /etc/ftpd/ftpusers and not /etc/ftpusers.
Also, make the permission 640 .

Check the syslog.log file to see for the
errors during ftp.

it should work.
-raj
Take it easy.