Live data from Hacker News

Run0, a systemd based alternative to sudo, announced

mastodon.social

671–680 of 902 posts

Re: Run0, a systemd based alternative to sudo, announced

#671

Earlier quoted context omitted.

I think these problems are basically negligible because the amount of people trying to "configure sudo to be safe to use for unprivileged users, by only allowing specific things to run with it" is negligible. Virtually all users of sudo are using it on their own computer which they are the sole user and ultimately the administrator of. Even in corporate contexts where the company owns the machine instead of the user,…

My last job was at a UK bank. All our *nix systems were configured with a specific whitelist of commands that could be run via sudo. We found this an enormous pain in the arse when the powers that be decided to deploy ansible everywhere, and found that none of its "become" methods would work if sudo was set up like that.

Those environments could continue to use sudo. I'm sure Red Hat will support it until long after we all dead.

Re: Run0, a systemd based alternative to sudo, announced

#672
There is also a write of sudo in Rust, which works more akin to the traditional sudo but memory-safe and with fewer bugs: https://www.memorysafety.org/blog/sudo-first-stable-release/

Source code: https://github.com/memorysafety/sudo-rs

And if you are running Debian 13 (trixie) or later, or Ubuntu 24.04 (Noble Numbat) or later, you can already install it using `apt install sudo-rs`.

Re: Run0, a systemd based alternative to sudo, announced

#673

Earlier quoted context omitted.

He's controversial because numerous times his ego has so severely clouded his judgemental that he refuses to see egregious bugs in his programs for what they are. Just one example: https://github.com/systemd/systemd/issues/6237#issuecomment-... The "people hate him because he makes new stuff" narrative is just more ego-protecting cope. Many developers of other new systems are widely respected and appreciated because…

> Just one example: https://github.com/systemd/systemd/issues/6237#issuecomment- ... 1. He gave a clear reason why it is how it is 2. He realizes it is/might be frustrating 3. even `adduser` will not allow it by default 4. The issue that it still runs the unit even with config errors has been addressed: https://github.com/systemd/systemd/commit/bb28e68477a3a39796... (~2 weeks after the issue was opened)

[deleted]

Re: Run0, a systemd based alternative to sudo, announced

#675

Earlier quoted context omitted.

The important thing for me at least isn't he `-u apache` but rather knowing that `apache` exists as one of the installed services on this box. In the old ways, that was apparent because of the presence of the log file. Granted, this isn't the problem it used to be for us, however, it would come up because we'd have our services named things like `foo-ws` and knowing that `foo-ws` existed on a given box might be trick…

journalctl -f -u Shows you all installed units if you have working shell completion, or 'a ' gets you all units starting with 'a', etc.

With `ls -l` I can see file modification dates. How do I do it with journalctl? And why do I need to that that in the first place?

Journald would be perfect if I didn't have to know a thing about it. Work in background, move stuff from stdin/stdout to /var/log/journald/service.log, move old stuff in /var/log/journald/archive/service/2024-04/15.log.gz. I'd be happy. Why do I need this cryptic CLI I don't understand. It brings nothing but pain.

Re: Run0, a systemd based alternative to sudo, announced

#676

Earlier quoted context omitted.

I think what is perhaps something to consider is how much of an attack surface sudo is and how unaware people are of the fact. Many people think they can configure sudo to be safe to use for unprivileged users, by only allowing specific things to run with it. But they don't realize all the ways it can be abused for privilege escalation. Getting rid of all that configuration removes that false sense of security, which…

I think these problems are basically negligible because the amount of people trying to "configure sudo to be safe to use for unprivileged users, by only allowing specific things to run with it" is negligible. Virtually all users of sudo are using it on their own computer which they are the sole user and ultimately the administrator of. Even in corporate contexts where the company owns the machine instead of the user,…

> Virtually all users of sudo are using it on their own computer which they are the sole user and ultimately the administrator of.

This is not the case at all. The vast vast majority of Linux installs are on servers.

Re: Run0, a systemd based alternative to sudo, announced

#677
post #517

Earlier quoted context omitted.

For three decades. I suspect he hasn't seen much money for the work, but hopefully I'm wrong.

From his personal page: For the past 30+ years I’ve been the maintainer of sudo. I’m currently in search of a sponsor to fund continued sudo maintenance and development. If you or your organization is interested in sponsoring sudo, please let me know. [0] [0]: https://www.millert.dev/

Sounds like a prime candidate for the Linux, Apache, Mozilla, etc. foundations.

Y'know. Before some strangely-named benefactor from within the UTC+03:00 time zone swoops in.

Re: Run0, a systemd based alternative to sudo, announced

#678

Earlier quoted context omitted.

HPC admin here. Yes. First, we use user level container systems like apptainer/singularity, and these containers run under the user itself. This is also same for non academic HPC systems. From schedulers to accounting, everything is done at user level, and we have many, many users. It won’t change anytime soon.

there is no reason for users to be maintained in the kernel.

Can you elaborate on that?

Re: Run0, a systemd based alternative to sudo, announced

#679
post #577

Earlier quoted context omitted.

That's fair. I assumed he was using squid to filter/block ads and dodgy websites. You can also kind of do this with pf, but not as well.

I use openbsd for that purpose also, but with unbound :}

I used to do something similar with pf, unbound, and squid but on freebsd.

Re: Run0, a systemd based alternative to sudo, announced

#680
post #635
post #590

Earlier quoted context omitted.

also worth mentioning: Lennart Poettering "Poettering is known for having controversial technical and architectural positions regarding the Linux ecosystem" https://en.wikipedia.org/wiki/Lennart_Poettering

Is this guy still hated and receiving death threats? Also didn't knew he is working for Microsoft now, that's an interesting career change.

And explains so much!
Post reply on HN