Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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)):
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?
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..........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.