When was the famous "sudo warning" introduced? (2019)
retrocomputing.stackexchange.com
When was the famous "sudo warning" introduced? (2019)
1–10 of 180 posts
Re: When was the famous "sudo warning" introduced? (2019)
#2[0] https://www.schneier.com/blog/archives/2024/11/steve-bellovi...
Re: When was the famous "sudo warning" introduced? (2019)
#3Re: When was the famous "sudo warning" introduced? (2019)
#4It’s a funny artifact because most people today use, and have only used Linux in a “single user” context. The “local system administrator” is me!
Re: When was the famous "sudo warning" introduced? (2019)
#5It’s a funny artifact because most people today use, and have only used Linux in a “single user” context. The “local system administrator” is me!
1) switch from using "sudo some-command --some-argument" to "some-command --some-argument" in which some-command authenticates and elevates via polkit, and
2) configure polkit to allow the initial human user of the machine to elevate without typing a password.
#2 is just a default, and special configurations can of course override it and return a configuration much like what we have today.
But Jesus Christ Almighty Batman, if I'm installing Ubuntu on my laptop and I, as my regular user, want to install audacity, I shouldn't have to re-enter my password!
Re: When was the famous "sudo warning" introduced? (2019)
#6It’s a funny artifact because most people today use, and have only used Linux in a “single user” context. The “local system administrator” is me!
Re: When was the famous "sudo warning" introduced? (2019)
#7It’s a funny artifact because most people today use, and have only used Linux in a “single user” context. The “local system administrator” is me!
And that's why we should 1) switch from using "sudo some-command --some-argument" to "some-command --some-argument" in which some-command authenticates and elevates via polkit, and 2) configure polkit to allow the initial human user of the machine to elevate without typing a password. #2 is just a default, and special configurations can of course override it and return a configuration much like what we have today. Bu…
Re: When was the famous "sudo warning" introduced? (2019)
#8It’s a funny artifact because most people today use, and have only used Linux in a “single user” context. The “local system administrator” is me!
And that's why we should 1) switch from using "sudo some-command --some-argument" to "some-command --some-argument" in which some-command authenticates and elevates via polkit, and 2) configure polkit to allow the initial human user of the machine to elevate without typing a password. #2 is just a default, and special configurations can of course override it and return a configuration much like what we have today. Bu…
Because I'm not sure it's a good idea to not require passwords. At the very least it's a way to make people pause and ask themselves if they really want to give admin rights to whatever program they're running.
Re: When was the famous "sudo warning" introduced? (2019)
#9https://github.com/sudo-project/sudo/commit/6aa320c96a376136...
Re: When was the famous "sudo warning" introduced? (2019)
#10Earlier quoted context omitted.
And that's why we should 1) switch from using "sudo some-command --some-argument" to "some-command --some-argument" in which some-command authenticates and elevates via polkit, and 2) configure polkit to allow the initial human user of the machine to elevate without typing a password. #2 is just a default, and special configurations can of course override it and return a configuration much like what we have today. Bu…
The problem is that any command that elevates privileges introduces a potential hacking vector so while having to enter your password or provide some other authentication at points where privileges get escalated is not an unreasonable ask.