How to Use
How to convert a "standard" filesystem to RAID1 keeping all your data
Using "busybox command" is a beautiful idea, but would make the code awkward to read. You could insert (maybe near the top): ps() { /bin/busybox ps $@; } Then use "ps" as per now, and it'll ensure that the busybox version is used. I've no idea how the webui works, so I'm guessing there's some script involved that execs "ps". Maybe I should take a look at the code, so I know what I'm talking about.
Ah I see. I've manually symlinked /bin/ps to /usr/local/bin/ps, and didn't realise that this would break the webui - perhaps webui could instead run "busybox ps" were it relies on the busybox output format? So a simple version of the "alternatives" binary, that simply removes and re-creates symlinks based on what's in /usr/lib/ipkg/alternatives? Perhaps I could put something together. But this would be an extra feature for when people want to select one package over another, and if we just have more...
What would it take to implement/finish this? It seems to be that everything is already in place, just without the /etc/alternatives/ directory or "alternative" binary. There's already an update-alternatives script, and /usr/lib/ipkg/alternatives/ directory with files in it. I don't know if the "alternative" binary or /etc/alternatives directory are required. Perhaps all it takes is for some packages to be updated, though. For instance, after installing procps-ng, I now have /usr/local/bin/ps, but...
Sorry, I didn't expect you to be so responsive to a 5-year-old ticket! Thanks very much! I've just now tested the update, and it's now working correctly.
@jcard, my solution is only a work-around, but the bug is still there. Sudo is supposed to ask for a password if not otherwise configured. But the sudo that is installed from Alt-F has defaults to no password required, and I had to manually configure "Defaults authenticate" to get the normal default behaviour. So, not fixed.
This appears to still be a problem on v1.0. It looks like the default is NOPASSWD. However, it can be worked around by prefixing the last ALL with PASSWD, such as: %wheel ALL=(ALL) PASSWD: ALL (I'm allowing users in the wheel group to use sudo.) Alternatively, you can set authenticate as the default by adding: Defaults authenticate