LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 01-17-2004, 07:25 PM   #1
shosterman
LQ Newbie
 
Registered: Jan 2004
Location: Columbus, OH
Posts: 19

Rep: Reputation: 0
How do I stop pure-ftpd?


I have been scouring the internet for almost an hour now and I can't find how to stop this darn thing.

I simply want to stop the pure-ftpd service that I started with $ pure-ftpd &

Is there a tutorial on the internet for this product in laymans' terms anywhere? I'm trying to get an ftp server up, but I have no idea where to start.

Stephen
 
Old 01-17-2004, 07:34 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Re: How do I stop pure-ftpd?

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)

p.s. try proFTPD, it rocks!
 
Old 01-18-2004, 12:03 PM   #3
shosterman
LQ Newbie
 
Registered: Jan 2004
Location: Columbus, OH
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for quick reply, your suggestion of "killall pure-ftpd" worked. I'm still a fairly new user so I don't know what ps ax is, or killing the PID file, but I'll google them a bit later.

Earlier I was Looking through the help files and manual but wasn't able to find a stop command, that's what frustrated me so much in the first place.

I will look up the ProFTPD program also. I just sort of stumbled across the pure-ftp because it was one of the few ftp programs to come up in my install packages search.

I'm still still quite inexperienced at the command line so tutorials and examples are my biggest concern when choosing a program.

Stephen
 
Old 01-18-2004, 05:15 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
glad you made some progress.

ps ax or ps aux just lists the processes you have running. then there'll will be a number next to each one, called the PID (process ID). so for example if pure-ftpd is listed as 325, you could do:

kill 325

and it will kill that process. you might need to be root depending on the process and how it started.

hth
 
Old 01-18-2004, 06:21 PM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
On Debian Woody;
I use:
/etc/init.d/pure-ftpd stop
/etc/init.d/pure-ftpd start
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.
Good Luck.
 
Old 01-18-2004, 06:39 PM   #6
shosterman
LQ Newbie
 
Registered: Jan 2004
Location: Columbus, OH
Posts: 19

Original Poster
Rep: Reputation: 0
That does help, thanks.

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.
(Example http://mywebsite.com/users/friendname)

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?

Stephen

Last edited by shosterman; 01-18-2004 at 06:41 PM.
 
Old 01-18-2004, 08:11 PM   #7
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
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

passwd <user>

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.
 
  


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 zaicheke Linux - Software 2 08-19-2004 06:20 PM
Pure FTPD help oACEo Linux - Newbie 2 12-07-2003 11:34 AM
Pure-ftpd help ksgill Linux - Newbie 15 04-18-2003 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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