[SunHELP] Ftp connection refused!

Devrim Yilmaz (Garanti Teknoloji) sunhelp at sunhelp.org
Fri Jul 27 02:15:16 CDT 2001


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1166B.E28E1A80
Content-Type: text/plain;
	charset="ISO-8859-9"

Hi,
I don't think this is related with /etc/shells. Because normal ftp works
fine. But "telnet 192.168.71.2 21" does not work. But some of ftp client
programs use this method.  

thx..

-----Original Message-----
From: Dave.Zarnoch at sungard.com [mailto:Dave.Zarnoch at sungard.com]
Sent: Thursday, July 26, 2001 4:33 PM
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] Ftp connection refused!



Yeah,

Just happened to me this morning....

Here's a "blurb" from "Sun Managers":

There is a special file called /etc/shells to address this problem.  FTP
by default tries to be more secure by only allowing known shells to ftp
in. If /etc/shells doesn't exist, the system defaults to only allowing the
standard, local shells.  If it does exist, it will only allow the users
with the shells listed to FTP. A gotcha: once you create /etc/shells, make
sure ALL shells are in there (one per line).  If you create it and only put
in /usr/local/bin/tcsh, then only the users with tcsh will be able to ftp
in.

Dave Zarnoch
UNIX Systems Administration
SunGard eSourcing
600 Laurel Oak Rd.
Voorhees, NJ 08043
Dave.Zarnoch at sungard.com





 

                    "Jankok, Lucio"

                    <Lucio.Jankok at Getr        To:
"'sunhelp at sunhelp.org'" <sunhelp at sunhelp.org>                     
                    onics.com>                cc:

                    Sent by:                  Subject:     RE: [SunHELP] Ftp
connection refused!                        
                    sunhelp-admin at sunh

                    elp.org

 

 

                    07/26/2001 04:39

                    AM

                    Please respond to

                    sunhelp

 

 





check that the shell you are using for pompeyi is in
/etc/shells.

ciao
 -----Original Message-----
 From: Devrim Yilmaz (Garanti Teknoloji) [mailto:DevrimY at garanti.com.tr]
 Sent: Thursday, July 26, 2001 9:54 AM
 To: 'sunhelp at sunhelp.org'
 Subject: [SunHELP] Ftp connection refused!



 Hi friends;
 When i try to ftp, i took this error message below. Do u have any idea
 about that?


 thx and regards.
 dEVRim.gA


 *----------------------------------------------------------
 telnet 192.168.71.2 21
 220 ixirweb1 FTP server ( ) ready.
 USER pompeyi
 331 Password required for fcelik.
 PASS ***********
 230 User pompeyi logged in.
 SYST
 215 UNIX Type: L8 Version: SUNOS
 Connect ok!
 PWD
 257 "/export/home/pompeyi" is current directory.
 Get directory
 TYPE A
 200 Type set to A.
 PORT 192,168,8,101,14,18
 200 PORT command successful.
 LIST
 425 Can't build data connection: Connection refused.







_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp

------_=_NextPart_001_01C1166B.E28E1A80
Content-Type: text/html;
	charset="ISO-8859-9"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-9">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [SunHELP] Ftp connection refused!</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
<BR><FONT SIZE=3D2>I don't think this is related with /etc/shells. =
Because normal ftp works fine. But "telnet 192.168.71.2 21" =
does not work. But some of ftp client programs use this method.  =
</FONT></P>

<P><FONT SIZE=3D2>thx..</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dave.Zarnoch at sungard.com [<A =
HREF=3D"mailto:Dave.Zarnoch at sungard.com">mailto:Dave.Zarnoch at sungard.com=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, July 26, 2001 4:33 PM</FONT>
<BR><FONT SIZE=3D2>To: sunhelp at sunhelp.org</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [SunHELP] Ftp connection =
refused!</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Yeah,</FONT>
</P>

<P><FONT SIZE=3D2>Just happened to me this morning....</FONT>
</P>

<P><FONT SIZE=3D2>Here's a "blurb" from "Sun =
Managers":</FONT>
</P>

<P><FONT SIZE=3D2>There is a special file called /etc/shells to address =
this problem.  FTP</FONT>
<BR><FONT SIZE=3D2>by default tries to be more secure by only allowing =
known shells to ftp</FONT>
<BR><FONT SIZE=3D2>in. If /etc/shells doesn't exist, the system =
defaults to only allowing the</FONT>
<BR><FONT SIZE=3D2>standard, local shells.  If it does exist, it =
will only allow the users</FONT>
<BR><FONT SIZE=3D2>with the shells listed to FTP. A gotcha: once you =
create /etc/shells, make</FONT>
<BR><FONT SIZE=3D2>sure ALL shells are in there (one per line).  =
If you create it and only put</FONT>
<BR><FONT SIZE=3D2>in /usr/local/bin/tcsh, then only the users with =
tcsh will be able to ftp</FONT>
<BR><FONT SIZE=3D2>in.</FONT>
</P>

<P><FONT SIZE=3D2>Dave Zarnoch</FONT>
<BR><FONT SIZE=3D2>UNIX Systems Administration</FONT>
<BR><FONT SIZE=3D2>SunGard eSourcing</FONT>
<BR><FONT SIZE=3D2>600 Laurel Oak Rd.</FONT>
<BR><FONT SIZE=3D2>Voorhees, NJ 08043</FONT>
<BR><FONT SIZE=3D2>Dave.Zarnoch at sungard.com</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

<P><FONT =
SIZE=3D2>          &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp; </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         "Jankok, =
Lucio"          &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;  </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         =
<Lucio.Jankok at Getr        =
To:     "'sunhelp at sunhelp.org'" =
<sunhelp at sunhelp.org>       &nb=
sp;           &nb=
sp; </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         =
onics.com>         &nbsp=
;      =
cc:           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           =
</FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         Sent =
by:           &nb=
sp;      Subject:     RE: =
[SunHELP] Ftp connection =
refused!          &nbs=
p;           &nbs=
p; </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         =
sunhelp-admin at sunh         =
            =
            =
            =
            =
            =
            =
 </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         =
elp.org          &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;          </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp; </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp; </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         07/26/2001 =
04:39           &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;           &=
nbsp;            =
</FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         =
AM           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;  </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         Please respond =
to           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           &nbs=
p;           =
</FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;         =
sunhelp          &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;           &nbsp=
;          </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp; </FONT></P>

<P><FONT =
SIZE=3D2>          &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp;           &nb=
sp; </FONT></P>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>check that the shell you are using for pompeyi is =
in</FONT>
<BR><FONT SIZE=3D2>/etc/shells.</FONT>
</P>

<P><FONT SIZE=3D2>ciao</FONT>
<BR><FONT SIZE=3D2> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2> From: Devrim Yilmaz (Garanti Teknoloji) [<A =
HREF=3D"mailto:DevrimY at garanti.com.tr">mailto:DevrimY at garanti.com.tr</A>=
]</FONT>
<BR><FONT SIZE=3D2> Sent: Thursday, July 26, 2001 9:54 AM</FONT>
<BR><FONT SIZE=3D2> To: 'sunhelp at sunhelp.org'</FONT>
<BR><FONT SIZE=3D2> Subject: [SunHELP] Ftp connection =
refused!</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2> Hi friends;</FONT>
<BR><FONT SIZE=3D2> When i try to ftp, i took this error message =
below. Do u have any idea</FONT>
<BR><FONT SIZE=3D2> about that?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2> thx and regards.</FONT>
<BR><FONT SIZE=3D2> dEVRim.gA</FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2> *--------------------------------------------------------=
--</FONT>
<BR><FONT SIZE=3D2> telnet 192.168.71.2 21</FONT>
<BR><FONT SIZE=3D2> 220 ixirweb1 FTP server ( ) ready.</FONT>
<BR><FONT SIZE=3D2> USER pompeyi</FONT>
<BR><FONT SIZE=3D2> 331 Password required for fcelik.</FONT>
<BR><FONT SIZE=3D2> PASS ***********</FONT>
<BR><FONT SIZE=3D2> 230 User pompeyi logged in.</FONT>
<BR><FONT SIZE=3D2> SYST</FONT>
<BR><FONT SIZE=3D2> 215 UNIX Type: L8 Version: SUNOS</FONT>
<BR><FONT SIZE=3D2> Connect ok!</FONT>
<BR><FONT SIZE=3D2> PWD</FONT>
<BR><FONT SIZE=3D2> 257 "/export/home/pompeyi" is =
current directory.</FONT>
<BR><FONT SIZE=3D2> Get directory</FONT>
<BR><FONT SIZE=3D2> TYPE A</FONT>
<BR><FONT SIZE=3D2> 200 Type set to A.</FONT>
<BR><FONT SIZE=3D2> PORT 192,168,8,101,14,18</FONT>
<BR><FONT SIZE=3D2> 200 PORT command successful.</FONT>
<BR><FONT SIZE=3D2> LIST</FONT>
<BR><FONT SIZE=3D2> 425 Can't build data connection: Connection =
refused.</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>SunHELP maillist  -  =
SunHELP at sunhelp.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhelp" =
TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</A></F=
ONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1166B.E28E1A80--



More information about the SunHELP mailing list