telnet server,ftp server

telnet server,ftp server

am 05.10.2004 09:27:05 von kaushal

Hello ,
What is the exact procedure to start a telnet ,ftp server in the
linux machine?I tried service vsftpd start but it said invalid service
name.but in other systems it starts the ftp server.

Similarly what is the procedure to start a telnet server in the machine?

What is the diff. between :[sf@df]#service httpd start
and the command
[sdf@sdfd]#httpd

Thanks in advance

Regards-
kaushal



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: telnet server,ftp server

am 05.10.2004 14:44:58 von Adam Lang

Well, if the program isn't installed, it could give you that error.
----- Original Message -----
From: "kaushal"
To: "admin"
Sent: Tuesday, October 05, 2004 3:27 AM
Subject: telnet server,ftp server


> Hello ,
> What is the exact procedure to start a telnet ,ftp server in the
> linux machine?I tried service vsftpd start but it said invalid service
> name.but in other systems it starts the ftp server.
>
> Similarly what is the procedure to start a telnet server in the machine?
>
> What is the diff. between :[sf@df]#service httpd start
> and the command
> [sdf@sdfd]#httpd
>
> Thanks in advance
>
> Regards-
> kaushal
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: telnet server,ftp server

am 05.10.2004 18:36:34 von Stone

> What is the diff. between :[sf@df]#service httpd start
> and the command
> [sdf@sdfd]#httpd

The former runs the init script (/etc/init.d/ or somewhere similar
depending on your system) that starts HTTPD. It may do more than just
start the daemon, for example, it may specify a config file, empty a
log file, add a virtual IP to your NIC, or anything else that needs to
be done. The only way to know what it actually does is to read the
init script.

The latter simply runs the daemon.

--
http://xstonedogx.heroesmarket.net
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: telnet server,ftp server

am 05.10.2004 19:22:06 von Jon Fullmer

on 10/5/04 10:36 AM, Stone at xstonedogx@gmail.com wrote:

>> What is the diff. between :[sf@df]#service httpd start
>> and the command
>> [sdf@sdfd]#httpd
>
> The former runs the init script (/etc/init.d/ or somewhere similar
> depending on your system) that starts HTTPD. It may do more than just
> start the daemon, for example, it may specify a config file, empty a
> log file, add a virtual IP to your NIC, or anything else that needs to
> be done. The only way to know what it actually does is to read the
> init script.
>
> The latter simply runs the daemon.

Please forgive me if I'm going too basic. I noticed that this hasn't been
brought up yet, but by default, both Telnet and FTP servers are typically
serviced by inetd (or xinetd), and not started via the init.d scripts.

Check your /etc/inetd.conf file (or in the /etc/xinetd.d directory). Both
inetd (older) and xinetd (newer) listen for requests for different services.
When the request is received, it starts up the respective daemon.

A side note, though. You should really consider using SSH instead of telnet
(or FTP, for that matter). OpenSSH (which is almost always installed by
default) runs as a daemon (typically, /etc/init.d/ssh start or
/etc/init.d/sshd start). To remotely connect to the host, type "ssh
username@host". To FTP files to or from the host, type "sftp
username@host". Or, if you know the file's location, and you just want to
issue a remote copy command (to or from), type "scp
username@host:"

Hope that helps.

- Jon

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html