Managing Kali Linux services ("The Fruit of Service is Peace” ― Mother Teresa)
Managing Kali Linux services
In previous post we looked in files command and now lets move forward and check few services and will get to know how its managed in Kali Linux.Most of these services are pre-installed such as SSH,HTTP and MYSQL etc.
If its not tinkered most of services will start at boot time which
will lead to kali Linux ports open by default. It can be avoided for security
reasons by doing changes in config. Lets learn commands how to enable or
disable this services so that you can get an overview which will help in managing
other services and yes man page is always helpful this how most of us nerd
learn.
Let’s fire up some services.
1.HTML
Service apache2 start
http://127.0.0.1
echo "kali linux rocks" > /var/www/index.html
Service apache2 stop
/etc/init.d/apache2 restart
2.SSH
/etc/init.d/ssh start
/etc/init.d/ssh stop
3 Boot time services
#Command to enable SSH Service-Start at boot time.
update-rc.d ssh enable
#HTTP -enable at boot time.
update-rc.d apache2 enable
#GUI interface to manage boot time services.
rconf
Comments
Post a Comment