Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i'm using proftpd, and i don't know the specifics of pure-ftpd. but for a quick fix, you could ps ax, then kill the PID (should be a number next to the program listing). or, you could try "killall pure-ftpd" as root.
other suggestions: man pure-ftpd, pure-ftpd --help, or even:
1. # updatedb (to update your database)
2. # locate pure-ftpd (to locate the program)
3 # /path/to/pure-ftpd stop (or whatever command shuts it off -- again, try the man pages or --help)
On Debian Woody;
for halts or restarts.
The command to start pure-ftpd on boot is in /etc/inetd.conf. You add all the options you want here, command line style. 'man pure-ftpd' has the down and dirty, the pure-ftpd website has more. Adding virtual ftp users took me a while. Info on that is also at the pure-ftpd page.
I followed up on your suggestion to look into ProFTPD and I think I like it better than Pure-FTPD. Working with the .conf file is easier for me to understand than a bunch of shell commands.
I'm a bit confused with the Virtual Host users. In fact, it might not be what I'm looking for; here's what I'm trying to do...
I have a webforum setup for my friends so we can communicate. I would like for my friends to be able to FTP into my server and upload pictures and files for me to host.
I don't need them to be browsing through the rest of my documents so I would "chroot" them to keep them in their directory, correct? Later I can worry about give them access elsewhere.
Now I also go to school and work on assignments there, so remote access would be great. (I like to host all my work so I don't have to carry disks around with me.) As it is now, if I work on a paper at home and make and then make some changes at school, I have to email it back to my house or take it home on a disk and copy it back to my server there to save those changes. I'd like to be able to upload and overwrite files from any location.
Will VirtualHosts allow me to do all this?
Lastly, the password thing is confusing me. I created a test user, but I don't know how to set his initial password. I also assume that I would have to create folders for all my friends?
Last edited by shosterman; 01-18-2004 at 06:41 PM.
i think i can answer at least some of your questions.
first about virtual hosts, yes that allows you to set up multiple accounts on one server.
you can access your server anywhere you have an ftp client and internet access. just set it up how you want it, with which port/s you want to use, etc.
for the password issue, what i do is first create the user with:
useradd <user> -d /path/to/directory
the -d option will set the home directory wherever you tell it to (edit: you'll have to create the directory), or you can leave that off and let it create the default directories, which will be in the /home directory.
set the password with
and it will prompt you twice for the password. you could also probably set up an anonymous login, but i don't know much about that yet. but that sounds like it might be good for what you want, because you could set up a single folder for your friends to upload to with anonymous login on a private port, and not have to deal with individual accounts.
Last edited by synaptical; 01-18-2004 at 08:18 PM.