Ubuntu 25.10 will replace the sudo command with sudo-rs, a new Rust rewrite designed to improve memory safety and security. What does this mean for users?
That’s not what I mean. Yeah, getting the environment variables are simple enough, but if you simply exec something as the root user, whatever you exec will naturally be looking for configs in /root/.config and not your~/.config dir, so any configurations to things like your text editor won’t be read.
That’s not what I mean. Yeah, getting the environment variables are simple enough, but if you simply
exec
something as theroot
user, whatever youexec
will naturally be looking for configs in/root/.config
and not your~/.config
dir, so any configurations to things like your text editor won’t be read.Ah, makes sense. It’s easy enough to duplicate the outer ENV for the sub-process, but I don’t know what that means for security and whatnot.