Sudo Usage and Security

Discussions center on the use of sudo for privilege escalation, its security benefits versus direct root access, criticisms of its complexity, and alternatives like doas or avoiding it altogether.

📉 Falling 0.4x Security
4,849
Comments
20
Years Active
5
Top Authors
#8877
Topic ID

Activity Over Time

2007
2
2008
19
2009
43
2010
51
2011
125
2012
158
2013
238
2014
173
2015
264
2016
260
2017
345
2018
176
2019
291
2020
280
2021
412
2022
405
2023
639
2024
562
2025
382
2026
24

Keywords

TFA AFAIK SUDO OSX SDDM stackexchange.com twitter.com openbsd.org man.cgi pam.d sudo root su admin replacement access run machines account password

Sample Comments

TekMol Oct 31, 2016 View on HN

I never understood the obsession with sudo. Why not just be root in the first place?

worldsavior Jun 25, 2023 View on HN

Why couldn't he just say to use sudo?

krapp May 21, 2013 View on HN

This is the second one of these i've seen and neither of them does anything interesting with 'sudo'... :|

Lai0chee Oct 8, 2014 View on HN

humm, the sudo makes me shudder.

elmigranto Oct 31, 2016 View on HN

Maybe better approach is to make stuff not require sudo in the first place.

lwhalen May 17, 2018 View on HN

in a community of technologists, you've never heard of 'sudo privileges'? :-)

cat199 Oct 11, 2019 View on HN

because sudo improves security over 'su' and raw root logins, obviously

divbzero Dec 17, 2023 View on HN

I really thought sudo would do the trick.

biggerbob Sep 13, 2015 View on HN

Wait? This doesn't require people to remove su right? Isn't it just a preferred alternative?

jmclnx Apr 26, 2023 View on HN

Will this replace the current sudo ?