Ray-V / tde-slackbuilds

A fork of Thorn Inurcide's SlackBuilds for the Trinity Desktop Environment
17 stars 5 forks source link

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

Open wjaguar opened 2 months ago

wjaguar commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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.