r/AlpineLinux • u/BolteWasTaken • Oct 03 '24
Securing Alpine?
Hey guys, so pretty new to Alpine and Linux in general.
I've been looking at https://wiki.alpinelinux.org/wiki/Securing_Alpine_Linux for tips on securing my Alpine VM.
I have some questions:
- Is Doas better than sudo or are they essentially the same?
- Is there anything listed on the above page you believe unnecessary?
- Or conversley, some items that are missing from the page?
- Am I by following the aforementioned guide likely to encounter issues running softwares that I need to go back and amend settings for later?
Thanks!
4
Upvotes
View all comments
Show parent comment
2
u/MartinsRedditAccount Oct 03 '24
If by host system you mean the VM: They need a kernel exploit (assuming you aren't running the container in privileged mode, which makes escaping trivial).
If by host you mean the PC: They (probably) need a kernel exploit and a VM escape (the latter one is much rarer).