Re: ftp login failing after upgrade to 8.1

2010-08-12 Thread Robert Bonomi

> Date: Tue, 10 Aug 2010 14:23:22 -0700
> From: Chris Maness 
> To: Mark Tinguely 
> Cc: freebsd-questions@freebsd.org
> Subject: Re: ftp login failing after upgrade to 8.1
>
> On Tue, Aug 10, 2010 at 2:19 PM, Mark Tinguely  wro=
> te:
> > Chris Maness wrote:
> >>
> >> On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely 
> >> wrote:
> >>
> >>>
> >>> Chris Maness wrote:
> >>>
> >>>>
> >>>> I just upgraded to FreeBSD 8.1 and my regular user name seems to be
> >>>> disallowed for ftp. =A0I checked and my name or group does not seem to
> >>>> show up in ftpusers. =A0Any suggestions as to what might have happened=
> ?
> >>>>
> >>>> Thanks,
> >>>> Chris Maness
> >>>> ___
> >>>> freebsd-questions@freebsd.org mailing list
> >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>>> To unsubscribe, send any mail to
> >>>> "freebsd-questions-unsubscr...@freebsd.org"
> >>>>
> >>>>
> >>>>
> >>>
> >>> Do you use a shell that is no longer in /etc/shells?
> >>>
> >>> --Mark.
> >>>
> >>>
> >>
> >> Yes, I use bash. =A0Should I add bash to the shells file?
> >>
> >> Thanks,
> >> Chris Maness
> >>
> >>
> >
> > yes, the full path to bash. And /etc/shells is overwritten during upgrade=
> s.
> >
> >
>
> It is logging in now, but getting some strange connection refused when
> I try a file transfer or list the contents of a directory.

symptomatic of a firewall problem.

Issue the command PASV at the ftp prompt and then try things.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ftp login failing after upgrade to 8.1

2010-08-10 Thread Chris Maness
On Tue, Aug 10, 2010 at 2:19 PM, Mark Tinguely  wrote:
> Chris Maness wrote:
>>
>> On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely 
>> wrote:
>>
>>>
>>> Chris Maness wrote:
>>>

 I just upgraded to FreeBSD 8.1 and my regular user name seems to be
 disallowed for ftp.  I checked and my name or group does not seem to
 show up in ftpusers.  Any suggestions as to what might have happened?

 Thanks,
 Chris Maness
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 "freebsd-questions-unsubscr...@freebsd.org"



>>>
>>> Do you use a shell that is no longer in /etc/shells?
>>>
>>> --Mark.
>>>
>>>
>>
>> Yes, I use bash.  Should I add bash to the shells file?
>>
>> Thanks,
>> Chris Maness
>>
>>
>
> yes, the full path to bash. And /etc/shells is overwritten during upgrades.
>
>

It is logging in now, but getting some strange connection refused when
I try a file transfer or list the contents of a directory.

Regards,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ftp login failing after upgrade to 8.1

2010-08-10 Thread Chris Maness
On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely  wrote:
> Chris Maness wrote:
>>
>> I just upgraded to FreeBSD 8.1 and my regular user name seems to be
>> disallowed for ftp.  I checked and my name or group does not seem to
>> show up in ftpusers.  Any suggestions as to what might have happened?
>>
>> Thanks,
>> Chris Maness
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>>
>
> Do you use a shell that is no longer in /etc/shells?
>
> --Mark.
>

Ok, I have it working now.  The man page for ftpd should make that a
little clearer than it does.  There is another issue after logging in.
 The login works just fine, but when it tries to establish a
connection for transfer or list the contents of a directory, I get a
connection refused error.

Regards,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ftp login failing after upgrade to 8.1

2010-08-10 Thread Matthew Seaman
On 10/08/2010 22:01:40, Chris Maness wrote:
> I just upgraded to FreeBSD 8.1 and my regular user name seems to be
> disallowed for ftp.  I checked and my name or group does not seem to
> show up in ftpusers.  Any suggestions as to what might have happened?

/etc/ftpusers is actually the list of accounts that should be *denied*
access via FTP.  You don't want your UID in there if you want to use FTP.

Make sure the login shell for your account is mentioned in /etc/shells.

Failing that, curse FTP as an archaic and inherently insecure protocol
completely unsuitable for today's internet, and switch to using sftp(8)
instead -- which has the look and feel of FTP, but which runs tunnelled
over SSH.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: ftp login failing after upgrade to 8.1

2010-08-10 Thread Chris Maness
On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely  wrote:
> Chris Maness wrote:
>>
>> I just upgraded to FreeBSD 8.1 and my regular user name seems to be
>> disallowed for ftp.  I checked and my name or group does not seem to
>> show up in ftpusers.  Any suggestions as to what might have happened?
>>
>> Thanks,
>> Chris Maness
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>>
>
> Do you use a shell that is no longer in /etc/shells?
>
> --Mark.
>

Yes, I use bash.  Should I add bash to the shells file?

Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ftp login failing after upgrade to 8.1

2010-08-10 Thread Chris Maness
I just upgraded to FreeBSD 8.1 and my regular user name seems to be
disallowed for ftp.  I checked and my name or group does not seem to
show up in ftpusers.  Any suggestions as to what might have happened?

Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"