1831504 Members
3165 Online
110025 Solutions
New Discussion

FTP access denied

 
Carlos Munoz Lopez
Frequent Advisor

FTP access denied

Hi guys. I'm having a problem accesing to server via ftp. The error is the following:

Connected to telcoint.
220 telcoint FTP server (Version 1.1.214.4(PHNE_27765) Wed Sep 4 05:59:34 GMT 2002) ready.
Name (telcoint:root): root
530 User root access denied....
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> by
221 Goodbye.

I checked the system and there are several users already connected to the server using ftp, it's rather strange. I tried with another account and there was the same problem.. As you can see I even tried with the root account and it didn't work. I don't know what could be happening. Is there some kind of max connections or something?? I would like some help on this issue. Thanks.
11 REPLIES 11
Carlos Munoz Lopez
Frequent Advisor

Re: FTP access denied

I forgot to thell you that I already checked the /etc/shells file and it was fine, the shell for root and the rest of the users were defined in this file.
Charlie Rubeor
Frequent Advisor

Re: FTP access denied

Check for the /etc/ftpd/ftpusers file and see if root is listed there. This file is used to prevent users from using ftp.
Peter Leddy_1
Esteemed Contributor

Re: FTP access denied

Check if there is an entry for root in the /etc/ftpusers file, if there is then you need to remove it to have ftp access.

HTH,

Peter
Bharat Katkar
Honored Contributor

Re: FTP access denied

also check if your system is trusted?
You need to know a lot to actually know how little you know
Ashwani Kashyap
Honored Contributor

Re: FTP access denied

Sound most likely that there is an entry for root /etc/ftpd/ftpuser .

Also check for any entries for a user/host/network in /var/adm/inetd.sec .
Carlos Munoz Lopez
Frequent Advisor

Re: FTP access denied

I don't have a /etc/ftpd/ftpusers file, nor /var/adm/inetd.sec.
Charlie Rubeor
Frequent Advisor

Re: FTP access denied

Another place to check would be /etc/ftpd/ftpaccess, look for a "deny" entry.
Paula J Frazer-Campbell
Honored Contributor

Re: FTP access denied

Hi Carlos

Can you ftp in from another machine?

If so that you may have deny by ip address script/check in place. Check /etc/profile.

Paula
If you can spell SysAdmin then you is one - anon
Carlos Munoz Lopez
Frequent Advisor

Re: FTP access denied

I told you guys that there were several sessions connected to the server using ftp, so I killed them all, because I thought they were hung. when I killed them all I tried to connect and it worked. So it seems that there was actually a limit for the number of connections. Can you tell me how can I increase the value for this number of connections if there is one??
Charlie Rubeor
Frequent Advisor

Re: FTP access denied

Did you look for the /etc/ftpd/ftpaccess file? It is possible to limit the number of connections for a particular class. The ftpaccess file will be active if the ftp entry in /etc/inetd.conf has the -a option.
Geoff Wild
Honored Contributor

Re: FTP access denied

Your ftp server is blocking root from ftp.

As other have said - check ftpusers, ftpaccess and make sure root's shell (from /etc/passwd) is in /etc/shells (if that exists)...

Are you running the standard ftpd from HP?

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.