1833958 Members
1591 Online
110063 Solutions
New Discussion

FTP Blocked

 
SOLVED
Go to solution
Robert True
Frequent Advisor

FTP Blocked

Cannot get FTP access to a new admin w/s. Have found /var/adm/inetd.sec, and /etc/ftpd/ftpusers ok and /etc/inetd.conf has ftp set in it. Still cannot login as myself with ftp service, says 'User xxxx access denied..."

Is inetd /ftpd broke, or am I overlooking something - like a patch? Don't have the problem on servers.
8 REPLIES 8
Solution

Re: FTP Blocked

Is your shell from /etc/passwd listed in /etc/shells ?

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Jeff Schussele
Honored Contributor

Re: FTP Blocked

Hi Robert,

Could be one of several reasons.
You might try restarting inetd by having it reread the inetd.conf file - inetd -c
May be that you have lost pseudo term dev files - insf -e
Or you may have reached max pseudo terms - in that case increase the npty value in kernel params.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Domenico_5
Respected Contributor

Re: FTP Blocked

Hi

If all ok, check the shell in passwd

regards

dom
Uday_S_Ankolekar
Honored Contributor

Re: FTP Blocked

Hi,

Check for the shell you are using. Like (ksh, sh, csh etc..)
You can get this from the password file.

Then look for the file shells in /etc

If you don't have one then create a file and then insert the your shell in that file.

Goodluck,
-USA..
Good Luck..
pap
Respected Contributor

Re: FTP Blocked

Hi,
I will ask you to recheck the file /var/adm/inetd.sec
as well as /etc/initd.conf

fr FTP related entries.

Also check your user ID exist on that particular machine.

ThaNKS,

-PAP
"Winners don't do different things , they do things differently"
Domenico_5
Respected Contributor

Re: FTP Blocked

hi robert

You can deny an acces in follow ways :


1. To deny user access to ftp services:

A. Create an /etc/ftpusers file.

Note: The /etc/ftpusers file is used to deny access to
specific users.

B. Add the names of the users for which you wish to deny ftp
access.

For example:

root
uucp
guest

--AND--

2. To deny IP address access to ftp services:

Add the IP addresses to /var/adm/inetd.sec in the following
manner:

ftp deny 128.1.2.*
pap
Respected Contributor

Re: FTP Blocked

Sorry it was a typo in my previous posting. pleasse read the file as /etc/inetd.conf

Thanks,
-pap
"Winners don't do different things , they do things differently"
Robert True
Frequent Advisor

Re: FTP Blocked

Thanks to all! Fix was /etc/shells, but as I said, my servers do not have /etc/shells either, and no problem there. Servers DO have PHNE_23949 installed, which must fix the problem.