trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] Can't run Root Shell?

From: Darrell Anderson <humanreadable@...>
Date: Sat, 11 Feb 2012 12:43:23 -0800 (PST)
> > I'm running a GIT version of
> TDE.
> > 
> > In the Panel Terminal widget button is an optin called
> Root
> > Shell. When I select that option I repeatedly receive
> an
> > error message that the password is incorrect.
> > 
> > This is not a path problem because the same thing
> happens
> > when I use the full path of /opt/trinity/bin/konsole
> --type
> > su.
> > 
> > I have no such problems using tdesu or starting a
> normal
> > konsole and then using su or su - to login in as root.
> > 
> > Can anybody confirm this behavior?
> 
> Anybody confirm this behavior?

I found the problem. In three places the "Exec=su" command has been changed to "Exec=sudo su":

konsole.cpp
su.desktop
sumc.desktop

As far as I can tell, these changes were made in the initial 3.5.11 release.

I filed bug report 853.

konsole.cpp is fixable with a patch to test for both "su" and sudo su."

I don't know the best way to fix the two desktop files on a distro-specific basis. Tim?

Darrell