October 28, 2019 · Basic Pen-Testing

1.2 : Managing Kali Linux services

Change default root Password

passwd

SSH service

# start service
systemctl start ssh # I like to use the following alternative
service start ssh   # more imperative

# check service status
netstat -antp | grep ssh

# enable on boot time
systemctl enable ssh

Aapache service

# start service
systemctl start apache2 

# check service status
netstat -antp |grep apache

# enable on boot time
systemctl enable apache2

Change root password

passwd root

Start & stop services

# list all
systemctl -l
#just use this, dont crash shit
systemctl enable|disable $SERVICE_NAME

SSH start on boot

systemctl enable ssh