to resolve bug report 853 is ready a patch that selects between "sudo su" and "su" depending on the build option WITH_SUDO_TDESU_BACKEND.
But as we have noticed, also on Ubuntu is used WITH_SUDO_TDESU_BACKEND=OFF. This would mean that even Ubuntu would not be used "sudo".
That's why I asked what solution to choose for Ubuntu packaging?
- Apply the patch and leave WITH_SUDO_TDESU_BACKEND=OFF
- Apply the patch, but change WITH_SUDO_TDESU_BACKEND=ON
- Make a separate build option WITH_SUDO_KONSOLE_BACKEND
I'm not an Ubuntu user but I'm fine with adding WITH_SUDO_KONSOLE_BACKEND as a new option.
Would the default be WITH_SUDO_KONSOLE_BACKEND=OFF, meaning sudo- based disto packagers would have to explicitly change that option to WITH_SUDO_KONSOLE_BACKEND=ON?
Darrell
On Sunday 10 of November 2013 18:57:22 Darrell Anderson wrote:
to resolve bug report 853 is ready a patch that selects between "sudo su" and "su" depending on the build option WITH_SUDO_TDESU_BACKEND.
But as we have noticed, also on Ubuntu is used WITH_SUDO_TDESU_BACKEND=OFF. This would mean that even Ubuntu would not be used "sudo".
That's why I asked what solution to choose for Ubuntu packaging?
- Apply the patch and leave WITH_SUDO_TDESU_BACKEND=OFF
- Apply the patch, but change WITH_SUDO_TDESU_BACKEND=ON
- Make a separate build option WITH_SUDO_KONSOLE_BACKEND
I'm not an Ubuntu user but I'm fine with adding WITH_SUDO_KONSOLE_BACKEND as a new option.
Would the default be WITH_SUDO_KONSOLE_BACKEND=OFF, meaning sudo- based disto packagers would have to explicitly change that option to WITH_SUDO_KONSOLE_BACKEND=ON?
Darrell
Yes, exactly what I wanted. If the new build option WITH_SUDO_KONSOLE_BACKEND will be added, it would default OFF and only distributions that use sudo will in packaging use ON.
Slavek