Results 1 to 2 of 2
NTSYSV
-----------------------------------------------------------------------------------------------------------------------------------
I assume all the services ( which are installed of course ) offered by Linux can be viewed through
Code:
ntsysv
Putting a "*" here ensures that next ...
- 06-22-2009 #1
chkconfig,ntsysv,service confusing commands
NTSYSV
-----------------------------------------------------------------------------------------------------------------------------------
I assume all the services ( which are installed of course ) offered by Linux can be viewed throughPutting a "*" here ensures that next time the system reboots the selected service will be started( If I m not wrong then these services are also called as init scripts) .Code:ntsysv
-----------------------------------------------------------------------------------------------------------------------------------
CHKCONFIG
-----------------------------------------------------------------------------------------------------------------------------------
chkconfig command pretty much does the same thing-----------------------------------------------------------------------------------------------------------------------------------Code:chkconfig service on/off
SERIVCE
-----------------------------------------------------------------------------------------------------------------------------------
Now the required service ( i.e the one shown in ntsysv ) can be started/stopped using the service command.Now what is confusing me is that there is a init script /service telnet that I see using ntsysvCode:service servicename start/stop
when I give this command it tells me
telnet service not recognizedCode:service telnet start
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-22-2009 #2
telnet runs through the xinetd service - it's one of several services that are marshalled in this way. If you want to turn it on or off, edit the config file for telnet which is usually in /etc/xinetd.d, but may be elsewhere depending on your distro, and restart the xinetd service.
If you're planning to use the telnet server, you may want to consider using SSH instead, which provides a similar shell service with none of the security implications.Linux user #126863 - see http://linuxcounter.net/


Reply With Quote