[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: ftp server



Chetan Kumar <chetansk@xxxxxxxxxxxxxxxx>  wrote --
> On Thu, 17 Jun 1999, Vinay Avasthi wrote:
> 
> > > When I try to login to ftp server with proper user name and password on Linux(Redhat 5.2), I get a meesage 
> > > "connecting to 10.0.0.180, connection refused".
> > 
> > It could be because of following two reasons.
> >    - FTP services are not enabled
> >    - your shell is not defined in /etc/shells
> 
> AFAIK shell has got nothing to do with ftp. I can have a server that
> doesnot have bash running and not defined in /etc/shell and still ftp from
> a client that is running bash. And what about windose client that doesnot
> have shell. 
> 

It does have an impact. May be not in all the ftp servers. But here
is an example from the manpage of ftpd in solaris.

          3)    ftp access is denied if the user's  shell  (from
                /etc/passwd)   is   not   listed   in  the  file
                /etc/shells.  If the file /etc/shells  does  not
                exist,  then the user's shell must be one of the
                following:

                      /usr/bin/sh  /usr/bin/csh /usr/bin/ksh
                      /usr/bin/jsh /bin/sh      /bin/csh
                      /bin/ksh     /bin/jsh     /sbin/sh
                      /sbin/jsh

If the system allows user to go thru the basic connection stage
accepts username and disconnects without asking for a password
then this could be one of the reasons. If the system does not
even prompt for username then it could be proble with
ftp service not running.

VA
- -- 
Vinay Avasthi (Staff Engineer)                 ------   ,__o
Vinay_Avasthi-A12733@xxxxxxxxxxxxx            ------  _-\_<,
Motorola India Electronics Ltd.============  ------  (*)/'(*) 
The Senate, 33A, Ulsoor Road, Bangalore India, 560042         

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------