Complete noob: need help on installing and setting up Pure-FTPd
Hey everyone, I hope you guys can help me. I'm completely new to Linux, didn't know which distro to go with, so I just decided to get openSuSE 10.0 about a week ago and installed it on an old 233 MHz P-MMX machine just to see how Linux is like.
I tried out KDE and GNOME but settled on Text Mode because 1)doesn't bog down the system and 2)I want it to be an ftp server. OK, so I do some google searches and I find that pure-ftpd boasts of being the most easiest to install and get running that even complete noobs (like myself) should be able to do. (followed the pure-ftpd virtual users guide) I fiddled around with it, tried to make up some login accounts, did small variations when certain command-line entries didn't work. When I finally got it to work, it then asked me to input the password twice after I created an ftp login username. I was able to successfully reach localhost, it then prompted me for a username, password, and failed to log me in as though the account didn’t exist. Now I did something that made it Anonymous-Only and I don't know how to revert it back. Getting kind of frustrated and I'm willing to start all over, I just need a step by step walkthrough. Any help will be appreciated :) |
Ok here's an update. I have pure-ftpd running and this is what happens:
(whether I'm logged in as root or as another linux login, the result is the same) admin@linux:~>ftp localhost Trying 127.0.0.1 ... Connected to localhost 220-Welcome to Pure-FTPd. 220-You are user number 1 of 10 allowed. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. Name(localhost:admin): <I entered my ftp username here> 331 User <my ftp username> OK. Password required Password: <I entered my ftp password here> 530 Authentication failed, sorry ftp: Login failed. Anybody know how to get this problem fixed? |
Another update:
I am able to log on the ftp server when I'm on my linux machine. After I start running pure-ftpd: "/etc/init.d/pure-ftpd start" I'm not able to reach the server on any of my other computers in the network. (I was able to successfully reach the ftp server from any machine on my network prior to reformatting and starting fresh). On the linux box, I'm able to log on the ftp server with my other linux login (not my root), but I'm not able to login with any of the virtual users. Please help me. |
Yet another update:
Now for some reason I'm able to log into the ftp server on any computer in my network, but I still have to use one of the linux account login (username and pw)...the virtual user logins still don't work. Another question: how would I be able to connect to the ftp server remotely? I know the format is ftp://<virtual username>:<virtual password>@<ip address> I'm only able to log on using ftp://<linux login username>:<linux login password>@<192.168.0.103 i.e. the router assigned ip> |
I'm getting closer, here's another update:
The problem I had about not being able to access the ftp server from outside my network was due to the fact that I configured router's port forwarding to the linux box incorrectly. So I got that fixed. This one problem remains: I still can't log in with my virtual user accounts. I can only log in using my system login username and password. I'm not sure whether I need to setup a MySQL database for virtual user logins to work. And if I need to configure a virtual user database, how would I go about accessing it? Anyone have any advice for me? |
I need some help:
I'm following the Pure-FTPd MySQL User Authentication guide (found here: http://download.pureftpd.org/pub/pur...c/README.MySQL). I remember when I did "yast -i pure-ftpd" (with my installation source being ftp.uni-erlangen.de/pub/mirrors/opensuse/distribution/SL-10.0-OSS/inst-source), it downloaded and installed the pure-ftpd rpm file. I tried using ./configure, but for some reason it doesn't recognize what ./configure is. Can anyone show me the correct format of configuring pure-ftpd for mysql support? |
well i see this post is way old, im on fedora core with kind of the same problem, i am also new to linux, well not so much "new" as "un-experienced" i spent years setting up hosting accounts with the associated FTP account easily set up via the cPanel i was using. and i fear this was a mistake, because now i am having to set up a server from scratch, and the only thing im having trouble with is FTP, i tried vsftp but i got frustrated i could not set up an account to update a website, all its examples pointed towards anon ftp usage, i tried proftp, but got confused, so im on pure ftp, and the examples did not work, like Crogs 1st post, i created user successfully but cannot log in from the server itself, nor from anywhere else. any one reading this thread?
|
P.S. im using Fedora Core 5
|
Hey it's my old thread :D
Just to let you know, I was able to get it running flawlessly, but it feels like it was a long time ago. I moved on to openSuSE 10.1 and followed the newer guide that had me install proftpd and it works just as good. I'm trying my best to remember what I did...I know it was making some alterations (mostly trial and error) in the conf file. I'll make another reply once I actualy remember something useful :study: Edit: I'm gonna throw out some suggestions before we tackle the configuration file for Pure-FTPd... To make sure Pure-FTPd is working, try logging into your ftp server using your linux system login. So when you're prompted to enter in username and password in ftp, you can try entering in root and its password or your alternate system account username and password. Also make sure ports 20 and 21 are forwarded to your linux box in your router. Then see if you can log into your ftp server remotely using the system login mentioned above...this is just to see if you can access Pure-FTPd remotely. Later today, (since it's passed midnight at the moment) I'm going to see if I can find the "working" pure-ftpd conf file that I backed up to another computer before formatting couple months ago. *crosses fingers* |
Ok, I found my pure-ftpd.conf file:
Code:
############################################################ Uncomment (remove the "#" sign) in front of (if not done already): Code:
MySQLConfigFile /etc/pure-ftpd/pureftpd-mysql.conf Code:
PureDB /etc/pure-ftpd/pureftpd.pdb Code:
PAMAuthentication yes |
hi Crog, thanks for finding this, i am on FC5, i have used the examples to the T on the pure ftpd, the problem i found was, when i did the command to list users, the spaces for allowing the ip from a user was blank, and the example on the docs, was not, so now i just need to learn how to disable the allow ip feature, not only for me, but my dial up client users too, since their ip will change every time they re connect, this feature maby good for some reasons but i dont see the use for what i need it for. maby my problem is im too new at linux and depend on the package installer to install all my packages and configure them for me :D
i do not think that the default conf uses a text file since i read that this ftpd uses cmd line, i am fine with that, i just need to be able to update my website via ftp and learn this pure ftpd, i am going over the docs again, (virtual users) to see if i can set and change the allowed ip when my other internet service changes my ip, (we have two isp's, one for server, one for personal, both are totally different networks, since we didnt want to be using business bandwidth for personal stuff, thats why the 2 networks) ---anyways, sorry so long in replying... Sarina |
P.S. now i gotta learn how to use the VI casue i cant be moving this monitor KB/ mouse to the server all day long, and we cant afford an ab swicher just yet, plus im too far away due to spaceial restrictions, hahaha
|
update:
well i found how to disable ip filering, but im still not able to log in the ftp from anywhere, either inside the net or out... |
Alright, I'll try and continue thinking about what your problem might be...kinda hard since I'm now using proftpd. I hope some current users stop by to offer some advice as well.
If your linux box is running in text mode, I'd suggest using PuTTY to access your server's shell terminal. I too got tired of dragging my monitor, mouse, and keyboard around the house...it's so much easier now. Just make sure you forward the right port (22, I'm pretty sure) in your router if you want to access it remotely (i.e. outside your network/router). |
Hi, Sarina1975 here, well i think it was time to abandon pure ftp, i did some research and ALOT more people had trouble the same way we did, so i did like you and moved to proftp, now, since i am a COMPLETE noob at this, could you help me out with an example of this? i just need one account, (me) to access my web directory. the samples i read on PRO's site were a little better and more understandable, but he assumes i have knowledge in ect/passwrds and since i do not, his format escapes me. Crog, may we talk via direct e-mail or some chat messenger sometime please?
Thanks Fedora Core 5, abandoned pureFTP for PROftp |
All times are GMT -5. The time now is 10:17 AM. |