LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-21-2005, 11:50 AM   #1
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Rep: Reputation: 15
FTP setup - help!


Hello,

I have RedHat 9.0. I can't remember the default FTP app might be VSFTP?

Anyhow, when I FTP to my linux box from my windows machine I can only log in as anonymous because I have no idea where to configure user and logins. When I do login and do a "dir", all I see is "/pub". Where is pub?!?! I can't find it anywhere. I actually need to see my local directories like /root home, /etc, etc. What do I do? Please help!
 
Old 07-21-2005, 12:04 PM   #2
hlyrad
Member
 
Registered: Jul 2005
Location: Ab Ca
Distribution: Redhat EL Sun Mac OSX FC 3.0 & 4.0
Posts: 44

Rep: Reputation: 15
VSFTPD usually uses /etc/vsftpd/vsftpd.conf for config.
Use man vsftpd.conf for reference.
Check if its running on your system ps -Af | grep vsftpd or service vsftpd status.
Also when you log into it, the banner or welcome message sometimes tells you what the server is
eg.
220 ProFTPD 1.2.8 Server (fileserver) [fileserver.somewhere.ca]
User (fileserver.somewhere.ca:(none)):
 
Old 07-21-2005, 01:19 PM   #3
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks! But what about the mysterious /pub dir? I think the defaults want to treat my pub as a directory only accessible from the internet. I only need local net access and thus need to see my local direfctories......will vsftp.conf have config options to change this behavior?
 
Old 07-21-2005, 01:49 PM   #4
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
FTP has two types of logins, ie.. anonymous & user login. in anonymous login u just have to just apply the username "ftp" or "anonymous" and supply anything as a password. but in userlogin u have to supply a valid username and password. when u login as anonymous u just have a guest entry and will have access to the /var/ftp/pub/ directory. thats what u see there. for setting up a server accessible to users u have to add the user accounts. for just viewing ur directories from the net, u must configure user access in ur server. but the problem is that u would have only access to the user home directories when logged in as a user. the root user by default have no access to an ftp server since the password travels without encryption through the network. so it depends upon u,whether u want user level access or just anonymous login. anyway u cant get access to /root without being root. for that u have to change the default permissions of /root with the chmod command. also that applies to the other previliged directories such as /etc,/boot etc...
Please explain ur problem in more details so that we could help vimal..........

Last edited by vimal; 07-21-2005 at 01:53 PM.
 
Old 07-26-2005, 07:57 AM   #5
Rinish
Member
 
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93

Rep: Reputation: 15
sorry to put my head in ... I would like to read more on this so pushed my ass in

Please kick :-D

/ Rinish
 
  


Reply



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 setup kbrooks Linux - Networking 3 02-08-2005 03:50 PM
FTP setup Meatball1337 Linux - Software 1 10-10-2004 12:32 PM
How to Setup FTP? dwarf007 Linux - Networking 1 10-07-2004 05:58 AM
FTP setup cosmoh2o Linux - Networking 1 02-06-2003 03:16 AM
FTP setup AMDPwred Linux - General 2 01-14-2002 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:35 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
Open Source Consulting | Domain Registration