Results 1 to 3 of 3

Thread: chkconfig or similar command line program ?

  1. #1
    Just burned his ISO
    Join Date
    Oct 2008
    Posts
    1

    Default chkconfig or similar command line program ?

    Hi there,
    I was wondering if there was a "chkconfig" or a similar command line program in Backtrack which would allow me to list, activate or deactivate services. If I do not want to work in KDE or Flux I would like a means to control the various daemons ( sshd tftpd, VNC, HTTPD ) from a console ( tty ).

    Thanks,
    Zod

  2. #2
    Junior Member
    Join Date
    Jul 2008
    Posts
    42

    Default Re-

    well if you wanted to start sshd then type:
    start-sshd
    To Stop:
    stop-sshd

    It would be the same for VNC, and tFTP,

    For HTTPD:
    start-apache
    stop-apache

    Hopefully i answered you question

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    you can use netstat to see what services are working/listening on various ports or you can use the top command to see the list of process along with their process IDs. Then simply kill the PID of the service you want to stop.

    All the Dameons are in the /etc/ directory and are started or stopped whith sshd start or sshd stop however the complete file path must be used iirc.

Posting Permissions

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