[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

starting a new service

Posted on 2005-03-10
1
Medium Priority
?
184 Views
Last Modified: 2010-04-20
Hi,
I have root access to my machine,
I need to add a service to this machine console based.
I need a service running on a port and server may be /bin/ls

It must not ask any username and password. line we can place in init.d or xinit.d and cabe be like

i assume this service will be like...

service myname
{
 disable = no
socket-type = stream
wait = no
server = /bin/sh
//must give a port number to activate.
}

Can anyone please make necessary connections and also steps to do in starting and stoping the service.

Thank You,
Prashanth
0
Comment
Question by:talktome_prashanth
1 Comment
 
LVL 12

Accepted Solution

by:
mburdick earned 1500 total points
ID: 13524708
You didn't specify the distribution of Linux that you're using, so we don't know the method it uses to start and stop services.

Also, if you can tell a little more about what this "service" is that you're trying to set up, we might be able to help more quickly.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 21 hours left to enroll

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question