chkconfig or similar command line program ?
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 ).
well if you wanted to start sshd then type:
It would be the same for VNC, and tFTP,
Hopefully i answered you question
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.