One thing to be cognizant of, is that sudo does some tricks to integrate with your current session, which run0 may not do...so I don't think it will be a "drop in" replacement.
You can see that sudo has inherited the local variables to make things work in a more seemless manner. From what I've read, run0 is the equivalent of logging in as root, thus will probably not (by default) inherit local variables.
sudo
does some tricks to integrate with your current session, whichrun0
may not do...so I don't think it will be a "drop in" replacement.sudo
has inherited the local variables to make things work in a more seemless manner. From what I've read,run0
is the equivalent of logging in as root, thus will probably not (by default) inherit local variables.