1827474 Members
2059 Online
109965 Solutions
New Discussion

Problem with FTP

 
castro_2
Regular Advisor

Problem with FTP

The anonymous ftp works fine, but real users are denied access. In the ftpaccess exits the line.
# User classes...
class all real,guest,anonymous *
Thanks
7 REPLIES 7
Marco Paganini
Respected Contributor

Re: Problem with FTP

Hello castro,

Did you restart your ftp server after you did the changes? Also, please send any messages in the syslog file (/var/log/messages) regarding this problem.

Regards,
Paga
Keeping alive, until I die.
castro_2
Regular Advisor

Re: Problem with FTP

Yes I reststarted the service.
In the syslog /var/log/messages I can't see nothing abaout FTP.
Regards
Paulo A G Fessel
Trusted Contributor

Re: Problem with FTP

Verify that your users' shells are all listed (with full path) in the /etc/shells file. If they aren't, ftp will deny access to accounts. This should be done even if your users' shells are invalid, like /bin/false.
L'employé propose, le boss dispose.
castro_2
Regular Advisor

Re: Problem with FTP

The /etc/shells is OK
[root@hostname etc]# more shells
/bin/sh
/bin/bash
/bin/bash2
/bin/ash
/bin/bsh
/bin/tcsh
/bin/csh
/bin/false
Marco Paganini
Respected Contributor

Re: Problem with FTP

Castro,

In your /etc/ftpaccess, what does the deny_uid and deny_gid lines say? Also, what are the uids of the users you can't login with? (check your /etc/passwd to know that)

Regards,
Paga
Keeping alive, until I die.

Re: Problem with FTP

Hi,

remove /etc/ftpuser file...
and try.

Manoj
Tee How Long
Advisor

Re: Problem with FTP

Quit agree with Macro suggestion, check your /etc/ftpaccess. By default, redhat version 7.1 and above will block a range of uid for FTP access.