Find the answer to your Linux question:
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 ...
  1. #1
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493

    chkconfig,ntsysv,service confusing commands

    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 time the system reboots the selected service will be started( If I m not wrong then these services are also called as init scripts) .
    -----------------------------------------------------------------------------------------------------------------------------------
    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.
    Code:
    service servicename start/stop
    Now what is confusing me is that there is a init script /service telnet that I see using ntsysv

    when I give this command it tells me
    Code:
    service telnet start
    telnet service not recognized
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    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/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...