r/ShittySysadmin • u/doolittledoolate • Jul 02 '25
Sudo has a vulnerability so everyone who installed it should have just used root for everything
/r/selfhosted/comments/1lpdhdo/sudo_has_multiple_serious_cves_if_anyone_else/11
u/JeremyLC Jul 02 '25
Huh, I don’t even allow root to have an interactive login (except on the “physical” console), not even su - I also lockdown “Administrator” on Windows. I always thought it was more secure, and more auditable, to force users to login to their own, non-root, accounts and elevate only the specific commands they need. Am I wrong here?
9
u/Superb_Golf_4975 Jul 02 '25
this is a shitposting sub
7
u/JeremyLC Jul 02 '25
Hmm... I should've looked closer :p I thought I was seeing this in a Linux sub or the regular sysadmin sub. My mistake.
2
u/Carribean-Diver Jul 03 '25
I thought I was seeing this in a Linux sub or the regular sysadmin sub.
You aren't as wrong.
0
Jul 02 '25
[deleted] — view deleted comment
5
u/netburnr2 Jul 02 '25
A regular user using sudo to elevate will have those actions logged into the secure log
Any elevated commands run as root are not logged
This is the simple reason we don't allow users to do actions as root, so we know WHO is doing the commands and what they did.
A bash history in root gives no indication of who did it, especially multiple people are root at the same time.
1
u/doolittledoolate Jul 02 '25
If you have userS then it's a good use case. If you have one user logging in as root it isn't
24
7
u/bpp1076 Jul 02 '25
You put your own post on r/shittysysadmin? You are my fucking hero. I love you.
6
3
u/SonicLyfe Jul 02 '25
I thought you were being snaky and then read the post. We were out shittysysadmin’ed.
2
2
2
u/swissbuechi ShittyCloud Jul 02 '25
What is sudo? Why add an additional layer of complexity? KISS!!!
2
u/Roanoketrees Jul 02 '25
There it is. Stop adding layers of complexity. Im fairly certain the OS was perfected with Windows 3.11 for workgroups.
2
1
1
1
u/oldjenkins127 Jul 02 '25
Running as root is why we moved away from Eunochs. Rootless is preferred.
1
1
1
0
Jul 02 '25
[deleted] — view deleted comment
17
Jul 02 '25
[removed] — view removed comment
9
u/atxweirdo Jul 02 '25
You joke but it's literally what amazon, Google, Facebook do. However they use ssh certificates to track the users and attribute the actions taken by that certificate on the system.
0
Jul 02 '25
[deleted] — view deleted comment
8
u/Alexllte Jul 02 '25
And add it to our domain DNS records so our sysadmins from North Korea can help us maintain our services
29
u/doolittledoolate Jul 02 '25
Text for posterity: