Score:0

Ideas: How to continuously monitor and kill the restricted process in Ubuntu20

jp flag

I have a bastion host where users run specific software like (nodejs) instead of using the bastion as a jump host. I cannot restrict internet access, and this software's installed in users' home directories. What is the easiest and best way to restrict users from running these processes or terminate them?

Thank you.

Score:-1
np flag

Just like the Windows Task Manager that you might be using for years, Ubuntu also comes with a built-in processes & resources monitoring utility called the Gnome System Monitor. This Ubuntu task manager allows you to kill, end, stop and resume processes on your Ubuntu.

You can launch Gnome System Manager through the UI any time you want by searching for system monitor or even task manager in the Ubuntu Dash, or otherwise access it directly from the Applications list.

In the Processes tab of the System Monitor, you will be able to see all the currently running processes, also including the unresponsive ones. In order to kill a process, simply right-click on it and then select the Kill option.

However, I recommend that you first try to shut off the process by using the Stop or End options as they are relatively safer ways to discontinue it.

in flag
It's highly unlikely that the server in question has an UI. Apart from that, it is asked how this can happen automatically, not manually.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.