Skip to content

Latest commit

 

History

History
81 lines (45 loc) · 1.98 KB

File metadata and controls

81 lines (45 loc) · 1.98 KB

Task 5 - Processes 101

Task 5 Processes 101

Read me!

{% hint style="success" %} No answer needed {% endhint %}

If we were to launch a process where the previous ID was "300", what would the ID of this new process be?

Reveal Flag 🚩

🚩301

If we wanted to cleanly kill a process, what signal would we send it?

Reveal Flag 🚩

🚩SIGTERM

Locate the process that is running on the deployed instance (MACHINE_IP). What flag is given?

{% hint style="warning" %} HINT: Use ps aux to list all running processes. We're looking for a process that seems "out of the ordinary" {% endhint %}

Reveal Flag 🚩

🚩THM{PROCESSES}

What command would we use to stop the service "myservice"?

{% hint style="warning" %} HINT: systemctl [option] [service] {% endhint %}

Reveal Flag 🚩

🚩systemctl stop myservice

What command would we use to start the same service on the boot-up of the system?

{% hint style="warning" %} HINT: systemctl [option] [service] {% endhint %}

Reveal Flag 🚩

🚩systemctl enable myservice

What command would we use to bring a previously backgrounded process back to the foreground?

Reveal Flag 🚩

🚩fg