sudo-sh reverted to simpler design
sudo-sh is a simple replacement for sudo, see the history:
https://bkhome.org/news/202306/goodbye-sudo-package.html
https://bkhome.org/news/202306/light-weight-replacement-for-sudo.html
https://bkhome.org/news/202306/workaround-when-setuid-is-ignored.html
https://bkhome.org/news/202312/fix-sudo-sh-segfault.html
https://bkhome.org/news/202404/shell-wrapper-for-sudo.html
https://bkhome.org/news/202503/sudo-sh-fix.html
https://bkhome.org/news/202503/sudo-sh-handle-more-parameters.html
https://bkhome.org/news/202509/fix-for-sudo-sh-simple-sudo-replacement.html
With version 1.2, an indirect ipc mechanism was introduced, based on the situation of 'sudo-sh' binary executing non-root, despite having its SUID bit set. That was said to have happened, but I'm not convinced. Whatever, that situation is invalid, and it would be reasonable for sudo or its replacement to just fail.
The ipc mechanism required an intermediary daemon, running via /root/Startup/sudo-sh-ipc. That is now removed. Good, it was a hack anyway.
'sudo-sh' is now version 2.0 and the source uploaded here:
https://distro.ibiblio.org/easyos/source/alphabetical/s/
There is also a new PET:
https://distro.ibiblio.org/easyos/amd64/packages/pet/pet_packages-excalibur/
There is also a script /usr/bin/sudo, which is a thin wrapper
that calls sudo-sh.
The way it works, is /usr/bin/sudo-sh has owner:group root:root
and permissions 4711, the "4" meaning the SUID bit is set, so any
app that calls it, running non-root, sudo-sh will run as the root
user. It will call script /usr/bin/sudo.sh, which will put up a
GUI window asking for the password.
Tags: easy