LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-28-2001, 01:00 PM   #1
dragonflyer
LQ Newbie
 
Registered: May 2001
Posts: 3

Rep: Reputation: 0

Can't ftp from my winPC to my LinuxPC. Thought it might have to do something with this filez:
etc/hosts, etc/hosts.allow and etc/hosts.deny

Thanks in advanced,
D-flyer
 
Old 05-28-2001, 07:27 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,451
Blog Entries: 54

Rep: Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894
for this to work hosts.deny denies all access to everyone with:
"ALL: ALL"

then in hosts.allow u can to add hostnames or ranges with a mask and a daemon name u allow access to like:
"ftpd: ALL"
this will give ppl from everywhere access, or
"ftpd: ALL EXCEPT 24.0.0.0/255.0.0.0, 212.0.0.0/255.0.0.0" which gives ppl access from all IP ranges except those from a few pesky cablemodem pools.

*deleteing/emptying both files zeroes out deny of access.

the hosts file is just a static IP/fully qualified domainname list which u can use to faclilitate lookups before asking ure DNS server, so hasnt got anything to do with tcpwrappers (allow/deny).
 
Old 05-28-2001, 08:05 PM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
When you say you can't FTP is this as all users or just some? If you are trying to ftp as root then you will need to have a look at /etc/ftpusers and remove the line that mentions root.

HTH

JAmie..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
hosts.deny help/how-to jon_k Linux - Software 1 07-25-2003 10:17 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 01:57 AM
hosts.deny 98steve600 Linux - General 1 01-10-2001 07:39 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration