Re:Is Sudo Almost Useless?
by Scarbutt on Tuesday June 09, 2020 @01:51PM
(#23468945)
DoS attack, ex: consuming CPU or RAM resources.
[ Parent
| on HN ]
That’s a class of attacks that sudo doesn’t even pretend to address. I’m not championing sudo, but consider it as one piece of a “Defense in depth” approach.
I believe the commenter was more talking about giving shells to a daemon than any sudo shenanigans.
I reread, can see that now. I think the commentor was speaking to a conversation that had shifted. I’ll leave my comment but also vote them up - theirs was a fair point.
Re:Is Sudo Almost Useless?
by parliament32 on Tuesday June 09, 2020 @03:53PM
(#23470173)
cgroups let you limit a user's usage of system resources. Like disk quotas, you need to configure this yourself if this is a threat model you care about, but it comes out-of-the-box with all modern distros.