LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2004, 05:10 AM   #1
gigi
Member
 
Registered: Nov 2003
Posts: 30

Rep: Reputation: 15
ftp access


hi,

i need to setup a ftp server, im using gFTP of Redhat 9. I can access access my ftp directory from the server itself but when i access the ftp server from other computer or network its always CONNECTION TIMED OUT. What is it do i need to do? Anothr question is how can I allow the ftp users to copy/write file to the ftpserver and set a user that are allowed only to access the ftp directory.

please help me.

thanks


regards,
gigi
 
Old 02-23-2004, 05:45 AM   #2
Nic-MDKman
Member
 
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
What type of internet connection are you using? Are you using a firewall or router?

As for the different levels of access, all you have to do is configure the directories and file permissions to match the permissions that you want. Put everyone that you want to be able to edit the files in a group, and allow group level read/write access. For the users that should only be able to read, they will be able to read if the directory/file is world readable.
 
Old 02-23-2004, 06:16 AM   #3
gigi
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
im using a dsl connection and im not using a router. i have dns server and which serves also as a firewall (ipchains)

ipchains configuration:

-A input -s 0/0 -d 0/0 21 -p tcp -y -j ACCEPT


for files/dir access what file configuration do i need to change?

thanks
 
Old 02-23-2004, 09:43 AM   #4
Nic-MDKman
Member
 
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
I have no idea if that is correct for IP chains, because I use a distro with IP tables.
Edit: You should be able check your logs to see what is happening with the connection (either your FTP logs, or your syslog) to determine if ipchains is denying access.

As for the file permissions, you just need to change permissions for the directories and files that are accessible via FTP.... (stuff in /var/ftp/pub ....)

Last edited by Nic-MDKman; 02-23-2004 at 09:45 AM.
 
Old 02-24-2004, 04:13 AM   #5
gigi
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
hi,

I can now access to my ftp server and was able to set allowed users but my problem is the user can access all directory. I only want all my allowed users to access one directory and write access but not delete.

please help me.

thanks

gigi
 
Old 02-26-2004, 05:42 PM   #6
linuxboy69
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 138

Rep: Reputation: 15
in your ftpaccess it will have a line

guestgroup <put the group that you want to be jail routed>

A little farther down it shows what kind of permssions you have for guest groups and anonymous

chmod no guest,anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous

that is the default but if you don't want your guestgroup to delete just put in guest,anonymous on the same line with the delete no

I hope this helps
 
  


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
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 06:14 PM
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 08:24 PM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 06:49 PM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 11:25 PM
Ftp access Rgamboa Linux - Newbie 5 05-12-2003 02:55 PM


All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration