On 1/20/26 16:43, rbowman wrote:
On Tue, 20 Jan 2026 21:00:59 -0000 (UTC), Lawrence D?Oliveiro wrote:
Yeah, but sudo *is* for running things as root! You think running them
via sudo is any better than however else you were thinking of doing
those things as root?
Sudo limits the damage. Become root with 'sudo su -' and you'd better not have lapses of attention. I think it was OpenSUSE where if you were root the wallpaper turned bright red with round, black bombs with smoking
fuses.
'sudo', as often implemented, is NOT safe. PI-os
doesn't even ask for yer user PW.
You CAN tweak sudoers ... tighten things up a bit,
but that's more work and, if like me, you never
use 'visudo', just 'nano', you'd better get the
syntax right.
The alt is to have NO 'sudo'. If you are concerned
about security then this may be the best and easiest
path. Open a terminal, 'su', then you need the ROOT
password.
On 1/20/26 20:40, vallor wrote:
At Tue, 20 Jan 2026 19:47:14 -0500, c186282 <c186282@nnada.net> wrote:
On 1/20/26 16:43, rbowman wrote:
On Tue, 20 Jan 2026 21:00:59 -0000 (UTC), Lawrence D?Oliveiro wrote:
Yeah, but sudo *is* for running things as root! You think running them >>>> via sudo is any better than however else you were thinking of doing
those things as root?
Sudo limits the damage. Become root with 'sudo su -' and you'd better not
have lapses of attention. I think it was OpenSUSE where if you were root >>> the wallpaper turned bright red with round, black bombs with smoking
fuses.
'sudo', as often implemented, is NOT safe. PI-os
doesn't even ask for yer user PW.
You CAN tweak sudoers ... tighten things up a bit,
but that's more work and, if like me, you never
use 'visudo', just 'nano', you'd better get the
syntax right.
The alt is to have NO 'sudo'. If you are concerned
about security then this may be the best and easiest
path. Open a terminal, 'su', then you need the ROOT
password.
I have a file in /etc/sudoers.d that includes this directive:
Defaults targetpw
So I need the root password to sudo to root.
ROOT pass, or USER pass ???
And is this "sudo su" or just "sudo" ?
I have a file in /etc/sudoers.d that includes this directive:
Defaults targetpw
So I need the root password to sudo to root.
On Wed, 21 Jan 2026 11:19:35 +0100, Marc Haber wrote:
... and thus the better control possibilities that sudo offers are
moot.
There seems to be this feeling that sudo is overly complicated and
prone to its own ongoing security vulnerabilities.
On Thu, 22 Jan 2026 10:40:57 +0100, Marc Haber wrote:
Lawrence D?Oliveiro <ldo@nz.invalid> wrote:
There seems to be this feeling that sudo is overly complicated and
prone to its own ongoing security vulnerabilities.
What are the currently ongoing security vulnerabilities in a current
sudo? I need to know that.
I did a quick search and found this one ><https://thehackernews.com/2025/09/cisa-sounds-alarm-on-critical-sudo-flaw.html>
from just a few months ago.
The list they linked to shows a couple of other items, one happening
every few years ><https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=sudo&field_date_added_wrapper=all&field_cve=&sort_by=field_date_added&items_per_page=20&url=>.
Searching at cve.org shows a new one, from this year ><https://www.cve.org/CVERecord?id=CVE-2026-22536>. I even see a few >mentioning sudo-rs, which is a reimplementation of sudo in Rust.
Lawrence D?Oliveiro <ldo@nz.invalid> wrote:
On Wed, 21 Jan 2026 11:19:35 +0100, Marc Haber wrote:
... and thus the better control possibilities that sudo offers are
moot.
There seems to be this feeling that sudo is overly complicated and
That surely is not a very wrong stance. sudo is quite complicated, and
I would probably have stopped using it (chaning to either runas from
the BSD universe or run0 from systemd) if I weren't maintaining the
Debian packages.
Configuring sudo to require the targetpw doesn't help with that AT
ALL, it just makes things worse.
prone to its own ongoing security vulnerabilities.
What are the currently ongoing security vulnerabilities in a current
sudo? I need to know that.
Greetings
Marc
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 19:03:18 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
540 files (253M bytes) |
| Messages: | 70,845 |
| Posted today: | 26 |