Linux - SoftwareThis 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
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.
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?
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.
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.
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?
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:
- 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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.