Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 run an FTP server, and I just run the programs needed every time I restart it for whatever reason. But it would be soooooo nice if I could get some progs running when it goes through booting time. I need noip2 and proftpd to start on their own, can anyone help me do that?
I can't remember the exact file, but for most distros its in /etc/rc.d (or whatever the folder is)
EDIT: /etc/rc.d/rc.local
Just add the command line thingys to there
Well I added /usr/src/pro*/proftpd -n -c /etc/proftpd.conf to the rc.local file and it loads the FTP server, but there's one problem ... it's a standalone server, so when it runs, it sticks there waiting for incoming connections. It doesn't load to the point where it asks me to login, so I can't do anything to the server if I do it this way.
There wouldn't be a way to autologin _then_ run proftpd, is there? I have to start the server as root (it switches to user anonymous before it actually inits), so it might be kinda ~ on security, but nobody's gonna break into my house and start breaking in or anything.
Another thing that would be really great - I use the switching "desktops" a lot (Alt-F1, Alt-F2, etc), so would there be any way to autologin on the Alt-F2 "desktop" to run top? I do this to monitor who's on the server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.