View Full Version : pureftpd please help
nhansam
2004-04-23, 06:23 PM CDT
I have installed pure-ftpd-1.0.18, but I can't find the file "ftp" in /etc/xinetd/ftp
How do I get it to work?
Thanks in advances
kel
2004-04-26, 02:17 PM CDT
pur-ftpd is designed to be a standalone service, not run from xinetd. Take a look in ~/pure-ftpd/contrib for redhat.init, the init file that belongs in /etc/init.d/. Simply copy redhat.init to /etc/init.d/pure-ftpd, issue the command '$ chkconfig --add pure-ftpd', check to see that it is now in the list of services to run with '$ chkconfig --list | grep on', create the configuration file /etc/pure-ftpd.conf and turn it on with '$ /etc/init.d/pure-ftpd start'
nhansam
2004-04-26, 07:14 PM CDT
I have got my proftpd running, but somehow I couldn't use my account "root" to login. I found this website helpful on install proftpd with mysql control.
but I got stuck on where the red line is
ProFTPd 1.2.8 with MySql Control for (Jaguar)
Install Instructions
Download and install Proftpd installer. (Based on this build instructions)
Open proftpd.conf
open -e /usr/local/etc/proftpd.conf
and edit "SQLConnectInfo ftp@localhost db_name db_password". (Sample config file)
Turn off FTP via Server Settings App.
Create a Group called FTP with GID 1025 and a user called "users" with UID 1010 with a password.
Create a database in MySql called "ftp"
Create tables and fields and move the FTPAdmin* folder to your web directory.
REBOOT COMPUTER
Point your browser to http://yourdomain.com/FTPAdmin
*FTPAdmin soon to come... For now you can use phpMyAdmin to add new users.
http://maxo.captainnet.net/installs/proftpd/index.html
Sorry, I'm so new with linux, but I want to learn something. :(
Thanks for your help.
kel
2004-04-26, 10:43 PM CDT
create the group using:
$ groupadd -g 1025 ftp
create the user using:
$ useradd -u 1010 -g 1025 users
Here I'm assuming that you are to create the user account with the group you've just created....
nhansam
2004-04-29, 08:39 PM CDT
Originally posted by kel
create the group using:
$ groupadd -g 1025 ftp
create the user using:
$ useradd -u 1010 -g 1025 users
Here I'm assuming that you are to create the user account with the group you've just created....
I typed these commands above in terminal. I got errors. :(
[root@localhost root]# $ groupadd -g 1025 FTP
bash: $: command not found
[root@localhost root]# groupadd -g 1025 FTP
groupadd: FTP is a not a valid group name
[root@localhost root]# groupadd -g 1025 FTP
groupadd: FTP is a not a valid group name
nhansam
2004-04-29, 09:05 PM CDT
Is there any other ways to add an account for proftpd ? (can be any methods, doesn't have to use mysql)
ilja
2004-04-29, 11:25 PM CDT
Originally posted by nhansam
I typed these commands above in terminal. I got errors. :(
[root@localhost root]# $ groupadd -g 1025 FTP
bash: $: command not found
[root@localhost root]# groupadd -g 1025 FTP
groupadd: FTP is a not a valid group name
[root@localhost root]# groupadd -g 1025 FTP
groupadd: FTP is a not a valid group name
:)
the $-sign only shows that you have to be root . so don't copy and paste it, but all the contest _without_ the $ sign.
DaveFB
2004-09-30, 08:34 AM CDT
Sorry to bring back an old post, but I think it pertains to what I'm trying to ask. I setup pure-ftp last night, and forgive me for being new to linux, but I have samba, httpd, and firestarter running with the help of this forum. Thanks!
My question is, when I searched for the .conf file for pure-ftp it showed me two locations. Off the top of my head I cannot remember where they were (I'm at work now). Which one is the correct one to config? pure-ftpd is up and running and I can sign on using ftp localhost fine, now I just need to know which I should configure. I tried searching google for my answer, but didn't really go in depth because it was bed time!
Btw - the use of this computer will be a home server along with a web server for family/friends. I brought back an old PII 350 to install on, other than being slow, everything is great.
PS - the previous post up there ^ mentioned the location and creation of /etc/pure-ftpd.conf . What do I put in this file or where can I copy from to this file?
Thanks.
alpha645
2007-03-18, 03:37 AM CDT
Sorry to bring back an old post, but I think it pertains to what I'm trying to ask. I setup pure-ftp last night, and forgive me for being new to linux, but I have samba, httpd, and firestarter running with the help of this forum. Thanks!
My question is, when I searched for the .conf file for pure-ftp it showed me two locations. Off the top of my head I cannot remember where they were (I'm at work now). Which one is the correct one to config? pure-ftpd is up and running and I can sign on using ftp localhost fine, now I just need to know which I should configure. I tried searching google for my answer, but didn't really go in depth because it was bed time!
Btw - the use of this computer will be a home server along with a web server for family/friends. I brought back an old PII 350 to install on, other than being slow, everything is great.
PS - the previous post up there ^ mentioned the location and creation of /etc/pure-ftpd.conf . What do I put in this file or where can I copy from to this file?
Thanks.
I think it's better if you start the server with the command line syntax.
pure-ftpd -h to see the options.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.