Thanks guys, it was blocking access from the
address in /etc/ftphosts, didn't read the manual
properly.
Shane
--- [EMAIL PROTECTED] wrote:
>
>
> On Sun, 18 Mar 2001, Shane McKeown wrote:
>
> > Hi guys
> >
> > I am having trouble logging into my linux box
> through
> > ftp. I can get the ftp prompt from the linux box,
> > but when either logging in with my own linux
> account
> > or the default ftp anon account, I get
> >
> > 530 Login incorrect
> > Login failed
> >
> > Here are the lines from syslog:
> >
> > host_access: Format error in host access file
> > Mar 18 20:23:49 linux1 ftpd[1281]: rhost_ok:
> sethacc
> > failed
> > Mar 18 20:23:49 linux1 ftpd[1281]: FTP LOGIN
> REFUSED
> > (name in /etc/ftphosts) FROM win2000.home.com
> > [132.158.132.1], ftp
> >
> > I have attached my /etc/ftphosts file.
> >
> > Can anyone see the problem?
> >
> > Thanks
> >
> > Shane
> >
> # Example host access file
> #
> # Everything after a '#' is treated as comment,
> # empty lines are ignored
> 132.158.132.1 Win2000
> #132.158.132.1 Win2000Server
>
> What did you do? Copy some lines from /etc/hosts?
>
> Did it ever occur to you to read man ftphosts?
>
>
>
>
> ftphosts(5) ftphosts(5)
>
>
> Name
> ftphosts - ftpd individual user host access
> file
>
> Description
> The ftphosts file is used to allow or deny
> access to cer
> tain accounts from various hosts.
>
> Access Capabilities
> allow <username> <addrglob> [<addrglob> ...]
> Only allow host(s) matching <addrglob> to log
> in as
> <username>.
>
> deny <username> <addrglob> [<addrglob> ...]
> Always deny host(s) matching <addrglob> to log
> in as
> <username>.
> ...
>
> That looks to me as if it wants first to be told
> whether you want to
> allow or deny <username> from <addrglob>, and if you
> don't tell it, it
> will assume you meant deny but couldn't figure out
> how to spell it,
> and indeed that is how it behaves in my experience.
>
> Those are acceptible <addrglobs>, and right off the
> bat it sees one that
> matches, so it denies it. You didn't tell it to
> allow it.
>
> You might try giving it a <username> where it wants
> one, too. If you
> don't the rule applies to all users.
>
> Lawson
>
> Yesterday he frolicked in his pussy paradise,
> Decapitating tweety-birds and masticating mice.
> Now he's just five pounds of raw mincemeat that
> don't smell very nice.
> He's nobody's moggy now.
> - Eric Bogle
>
>
>
>
>
>
>
>
>
>
>
>
>
> 1
>
>
>
>
>
________________________________________________________________
> GET INTERNET ACCESS FROM JUNO!
> Juno offers FREE or PREMIUM Internet access for
> less!
> Join Juno today! For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs