Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use sudo for root, it does not work #37

Open
wjaguar opened this issue Jun 1, 2024 · 2 comments
Open

Do not use sudo for root, it does not work #37

wjaguar opened this issue Jun 1, 2024 · 2 comments

Comments

@wjaguar
Copy link

wjaguar commented Jun 1, 2024

I had a problem with TDE's Printers app failing to enable Administration mode, and tracked its cause to the option:
-DWITH_SUDO_TDESU_BACKEND="ON"
which appears in tdebase.SlackBuild and tdelibs.SlackBuild here.
As a non-root user on a default Slackware install is allowed to do with sudo exactly nothing at all, this option makes tdesu unable to work and need be gotten rid of, along with the option -DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND="ON" in tdebase.SlackBuild.

@Ray-V
Copy link
Owner

Ray-V commented Jun 4, 2024

Thanks for the info.

I've never had a problem with this as I don't use su, and it would seem no-one else has.
I'll set the SUDO options to OFF.

There has been an issue in the past with a user requiring a different option than the one set in a SlackBuild so I'll add a note in the README.md to draw attention to users setting their own options for their particular requirements.

@wjaguar
Copy link
Author

wjaguar commented Jun 4, 2024

https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/494
Apparently I am not the first to hit the bug, only the first to find its cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants