-
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
-
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
-
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
-
Forum Rules