Process Restriction in Debian

Joined
Mar 14, 2021
Messages
44
Reaction score
28
Credits
425
Hi! I'm wondering how to restrict processes via command line in Debian, hence the title and subject. Though unconventional, I'm creating a script(s) for security purposes so any suggestions would be helpful. I'm looking to suspend, if not terminate any non-critical processes minus the terminal. These processes would then be un-suspended/reopened via, once again, the terminal. How would this work? Thank you!

Edit: Essentially I would be regulating the processing by killing non-whitelisted ones and then preventing them from opening. How would I create this script, which processes should I whitelist (for Debian), and how could I reverse this?
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Latest posts

Top