LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-18-2005, 12:37 PM   #1
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Rep: Reputation: 35
pure-ftpd help


Hi all

I am having trouble getting Pure-ftpd to create virtusl users. I know where I am going wrong, just need a pointer in the right location.

To get Pure-FTPd to create virtual users, amongst other things, you need to add
Code:
/usr/local/sbin/pure-ftpd -A -b -B -c 5 -C 2 -E -j -l puredb:/etc/pureftpd.pdb -R -u 1 -X
into your rc.local file.

However, being debian based, I dont have an rc.local. I have rc.boot, rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d, rc6.d, and rcS.d. They are all folders.

So, where would I put that command in instead of rc.local on a debain based distro?

Thanks

Hong
 
Old 03-19-2005, 07:05 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Take a look at the documentation on the pureftpd site it has the correct syntax and examples for you to follow. You might want to grab a download of PureAdmin, it's a pureftp admin gui.

Last edited by {BBI}Nexus{BBI}; 03-19-2005 at 07:08 AM.
 
Old 03-19-2005, 07:59 AM   #3
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
I have...thats the first place I looked.

Can you point me to the right section?

Thanks

Hong
 
Old 03-19-2005, 08:08 AM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
http://www.pureftpd.org/README.Virtual-Users
 
Old 03-19-2005, 08:48 AM   #5
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Thanks.

I read thru it all, and it doesnt mention anything about the rc.local file. I did as it said, and created a user 'dave' but when I try to log in (as anything) it says 'Connection Refused'. FW is off.

Any suggestions?

Hong
 
Old 03-23-2005, 02:18 PM   #6
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
<Bump>
 
Old 03-25-2005, 07:51 PM   #7
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
<bump bump>
 
Old 04-05-2005, 05:20 AM   #8
jordzz
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Testing
Posts: 18

Rep: Reputation: 0
Did u fix this yet?
I also use debian and need to change the boot commands to get virtual users working.
I'm now just messing around in S20pure-ftpd.
 
Old 04-05-2005, 05:23 AM   #9
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
No, I never did find a solution.

HAve you got any further?
 
Old 04-05-2005, 05:46 AM   #10
jordzz
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Testing
Posts: 18

Rep: Reputation: 0
Im editing the /etc/rc2.d/S20pure-ftpd
But i messed up, my pc won't boot anymore.
Maybe i can delete the whole script,
and search for a way to automatically run it on boot.

edit:
Isn't there a solution in debian, u can easilly add daemons/programs on boot?
U found something?

Last edited by jordzz; 04-05-2005 at 05:49 AM.
 
Old 04-05-2005, 05:59 AM   #11
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Mate I'm as confused as you are
 
Old 04-05-2005, 06:11 AM   #12
jordzz
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Testing
Posts: 18

Rep: Reputation: 0
But i can get it working ofcourse, but not with autostarting it on boot.
Just stop the server, and run with the commands u want.
But isn't there a replacement for rc.local, i found this:

http://www.plope.com/Members/chrism/...rc_local_equiv

gonna test it later
 
Old 04-05-2005, 06:14 AM   #13
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
lemme know if it works!
 
Old 04-05-2005, 06:23 AM   #14
jordzz
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian Testing
Posts: 18

Rep: Reputation: 0
WORKING

- I deleted /etc/rc2.d/S20pure-ftpd (it is a link to /etc/init.d/pure-ftpd, but best u can backup it)
- I created the file /etc/init.d/local
- The first line:
#! /bin/sh
- Then just the commands to run it, i did:
/usr/sbin/pure-ftpd -lpuredb:/etc/pureftpd.pdb &
- Then save the file and make it excutable with:
chmod +x /etc/init.d/local
- And then link the file with:
update-rc.d local defaults 80

That was it U can do some echo's to see on boot its running but its just working =)
Hope it helps u 2!
 
Old 04-05-2005, 06:24 AM   #15
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Thanks bud, i'll try it when I get in
 
  


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
pure-ftpd roofy Linux - Software 6 03-05-2007 04:06 AM
pure-ftpd help. Drolith Linux - Software 3 11-13-2005 01:50 PM
Pure-ftpd Yoinx Linux - Software 0 10-18-2004 12:12 PM
Pure-ftpd zaicheke Linux - Software 2 08-19-2004 06:20 PM
Pure FTPD help oACEo Linux - Newbie 2 12-07-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:54 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