Live data from Hacker News

Run0, a systemd based alternative to sudo, announced

mastodon.social

441–450 of 902 posts

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

#441

Earlier quoted context omitted.

It's fine. Not every software needs to be infinitely configurable and open source just in case the configurations don't cover the needs of all. We need opinionated software, if you don't want to make any choice for me, you can't even give me an assembly editor for fear of forcing your CPU arch of choice.

Counterpoint: GNOME and the modern GTK framework (I needn't say more.)

Gnome is great if you're willing to do things their way. I Like Gnome a lot actually.

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

#443

I have seldom come across unix multiuser environments getting used anymore for servers. Its generally just one user on one physical machine now a days. I understand run0's promise is still useful but i would really like to see the whole unix permission system simplified for just one user who has sudo access.

NixOS may be helping multiuser make a comeback, at least it is for me and my home servers. I no longer have to containerize my apps, i can have one baremetal server with a dozen+ services, all with their own users and permissions, and i don't have to actually think about any of the separation. Plus there’s network shares. Multiple people in my home with linux PCs, each with their own slice of the NFS pie based on use…

> i can have one baremetal server with a dozen+ services, all with their own users and permissions

I've used nixos and I don't really see how nixos is special apart from the declarative config. The same can/should be done with any distro and any config manager.

And unless you were running Podman in rootless mode, the same setup applies to containers too.

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

#444
post #4

I'm really starting to hate the sub-community in Linux that tries to constantly change it. I don't want to learn a new network config alternative with every update (Ubuntu changed its net config tool again with 24.04). I don't want an immutable os. I don't want to learn to write new config files. I just want to do what I've been doing but with new packages. If there's a problem with something, just fix it. Don't thro…

> I don't want to learn a new network config alternative with every update (Ubuntu changed its net config tool again with 24.04).

That's really just Ubuntu's fault. Between upstart, Unity, netplan, and snapd, Ubuntu likes to go off and do its own thing for a few years before coming back to what everyone else picked in the first place

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

#445

I have seldom come across unix multiuser environments getting used anymore for servers. Its generally just one user on one physical machine now a days. I understand run0's promise is still useful but i would really like to see the whole unix permission system simplified for just one user who has sudo access.

You'll just end up implementing multiuser support anyway due to different permissions to different devices services

How about only in servers where you only have CPU/Memory/disk/GPU with open source trusted drivers?

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

#447

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.

In which shell?

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

#448
post #365

Earlier quoted context omitted.

I can think of a number of things this tinting would break.

It violates the principle of Least Surprise; if I'm invoking run0 I'm expecting it to run my program with a different UID and return the same stdout I'd have gotten if I had just run the program in my shell. Not inject a whole bunch of color control bytes in there. Which hopefully my terminal will handle. Unless it doesn't. I'll give them the benefit of the doubt and assume they only do this if $TERM supports color.…

Any sane command line program will only output color codes if isatty(STDOUT_FILENO) succeeds.

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

#450

I have seldom come across unix multiuser environments getting used anymore for servers. Its generally just one user on one physical machine now a days. I understand run0's promise is still useful but i would really like to see the whole unix permission system simplified for just one user who has sudo access.

You only have one admin? How do you know who logged in, ssh certificates?

Only one human per machine. If you need to share the machine, make multiple containers and give everyone a separate container.
Post reply on HN