Earlier quoted context omitted.
The implicit premise of this comment is that linux is broken and needs to be changed. It isn't. The changes are not inherently good. Development is not inherently good. Just look at Gtk3 from 2014 to 2024. It was far more functional in 2014 (re: keyboard input) and now that has been removed because "progress".
No one is stopping you from running a 2014 version of your favorite distro. Seems like a good way to address your concerns.
Run0, a systemd based alternative to sudo, announced
181–190 of 902 posts
Re: Run0, a systemd based alternative to sudo, announced
#182systemd has been a net positive for the linux ecosystem. remember when you had to write bash scripts to start, stop, restart services and handle any other signals you want to send it? nowadays it's a unit file (basically just an ini file) away with relatively straightforward API. and you can actually declare startup dependencies and other useful relationships past just "prepend a number signifying when it should run…
Re: Run0, a systemd based alternative to sudo, announced
#183Re: Run0, a systemd based alternative to sudo, announced
#184Re: Run0, a systemd based alternative to sudo, announced
#185I asked this in a thread about this from last night and didn't get a reply. For context, the way "run0" works is to apparently send a signal to polkit that requests a command under the root user's ID and permissions, thereby getting a privileged shell without SUID: > How hard would it be to create a program to send a signal to polkit "impersonating" run0 and obtain a root shell without entering a password? Anybody kn…
There should be a service running as uid=0 that exposes an unprivileged API.
This service then takes the RPC and does authorization with polkit.
I.e. the unprivileged part doesn't talk to polkit directly. But a privileged part uses polkit instead of a custom sudoers style config.
Re: Run0, a systemd based alternative to sudo, announced
#186what else is systemd going to eat :/
Re: Run0, a systemd based alternative to sudo, announced
#187Earlier quoted context omitted.
The implicit premise of this comment is that linux is broken and needs to be changed. It isn't. The changes are not inherently good. Development is not inherently good. Just look at Gtk3 from 2014 to 2024. It was far more functional in 2014 (re: keyboard input) and now that has been removed because "progress".
Nobody needs to adopt the changes. Everybody did because it's better than the alternatives. There are still systemd-less distros if you like it.
Maybe run0 is worse than sudo. Maybe not. I have no personal experience on that topic and I doubt anyone here does.
Re: Run0, a systemd based alternative to sudo, announced
#188Overall, this seems great. However... > [...] by default it will tint your terminal background in a reddish tone while you are operating with elevated privileges ?!! ouch ... seems orthogonal to the actual important parts. Disclaimer: I didn't try it.
I tried it a bit ago (when it was still called uid0, pre-release), I also wasn't a fan of the tinting. I like the intent behind it, but some terminals already tint the header color when running sudo, I haven't tested if its done specifically for sudo or if its in a more generic way that could handle this as well.
Re: Run0, a systemd based alternative to sudo, announced
#189I don't understand the point of creating an entirely new shell inheriting almost nothing. Seems like that would cause a lot of issues (i.e., sudo make install)
Defaults env_reset
... which will clear almost everything that `make install` would've used. OpenSUSE TW has: Defaults always_set_home
Defaults env_reset
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE"
... which is a lot more, but will still clear whatever `make install` would've used.Anything you need to give to `make install` should be given explicitly, like `sudo make INSTALL_ROOT=$INSTALL_ROOT install` or whatever.