LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Starting FTP (https://www.linuxquestions.org/questions/linux-newbie-8/starting-ftp-153197/)

hegstrom 03-03-2004 06:02 PM

Starting FTP
 
RedHat 9
vsftpd

Absolute newbie question. 1st time setting up linux. Need an FTP server so I thought I'd give this a try.

When I start the vsftpd I've found 2 different ways to start it, and don't know the difference between them:

/etc/init.d/vsftpd start

and

/sbin/service vsftpd start

What's the difference between these to startup commands?

Thx!

Peacedog 03-03-2004 06:35 PM

Quote:

When I start the vsftpd I've found 2 different ways to start it, and don't know the difference between them:

/etc/init.d/vsftpd start

and

/sbin/service vsftpd start

What's the difference between these to startup commands?
for the first command i'm assuming you've edited the file, and, that should start the daemon at every boot.

the second command is a manual start. say for instance you needed to make a configuration change, you could

/sbin/service vsftpd stop

make changes

/sbin/service vsftpd start

w/out a reboot.

hope that answers your ?
good luck.

hegstrom 03-03-2004 07:19 PM

In trying to figure out how to configure and run vsftpd I did a lot of googling and came up with a bunch of recommendations. One of them had the init.d start and one had the sbin start.

I've tried running both of them, alternately, from a Terminal window and they both seem to work just fine starting up the FTP service. There doesn't appear to be any difference.

I was just wondering how it can load the FTP service from two different directories and still run the same.

Is the FTP service loaded differently some how by the different load statements?

Peacedog 03-04-2004 06:26 AM

have a look here

http://www.linuxvalley.it/encycloped...7/init.d.7.php

http://www.linuxbase.org/spec/refspe...srcinstrm.html

those links should explain things in a little more detail.
good luck.

hegstrom 03-04-2004 05:57 PM

Wow ... great response ... exactly what I needed.

Thx!!!!!!!

Peacedog 03-04-2004 06:58 PM

your welcome. glad to help.


All times are GMT -5. The time now is 10:47 PM.