linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* telnet server,ftp server
@ 2004-10-05  7:27 kaushal
  2004-10-05 12:44 ` Adam Lang
  2004-10-05 16:36 ` Stone
  0 siblings, 2 replies; 4+ messages in thread
From: kaushal @ 2004-10-05  7:27 UTC (permalink / raw)
  To: admin

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: telnet server,ftp server
  2004-10-05  7:27 telnet server,ftp server kaushal
@ 2004-10-05 12:44 ` Adam Lang
  2004-10-05 16:36 ` Stone
  1 sibling, 0 replies; 4+ messages in thread
From: Adam Lang @ 2004-10-05 12:44 UTC (permalink / raw)
  To: admin

Well, if the program isn't installed, it could give you that error.
----- Original Message ----- 
From: "kaushal" <kaushal@rocsys.com>
To: "admin" <linux-admin@vger.kernel.org>
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: telnet server,ftp server
  2004-10-05  7:27 telnet server,ftp server kaushal
  2004-10-05 12:44 ` Adam Lang
@ 2004-10-05 16:36 ` Stone
  2004-10-05 17:22   ` Jon Fullmer
  1 sibling, 1 reply; 4+ messages in thread
From: Stone @ 2004-10-05 16:36 UTC (permalink / raw)
  To: admin

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: telnet server,ftp server
  2004-10-05 16:36 ` Stone
@ 2004-10-05 17:22   ` Jon Fullmer
  0 siblings, 0 replies; 4+ messages in thread
From: Jon Fullmer @ 2004-10-05 17:22 UTC (permalink / raw)
  To: admin

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 <file>
username@host:<path>"

Hope that helps.

 - Jon


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-05 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05  7:27 telnet server,ftp server kaushal
2004-10-05 12:44 ` Adam Lang
2004-10-05 16:36 ` Stone
2004-10-05 17:22   ` Jon Fullmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).