trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-users] Superuser rights problem

From: Thierry de Coulon <tcoulon@...>
Date: Wed, 30 Dec 2015 22:40:45 +0100
On Wednesday 30 December 2015 19.59:42 Michele Calgaro wrote:
(...)
> > Now I've got a small problem with superuser rights with  some programs.
> > Until now kpackage-trinity and Gostcrypt have shown this behaviour:
> >
> > - if I start the program (from TDE), at some point it will ask for the
> > password. Neither the root password nor the user password work.
> >
> > - if I modify the program "icon" by adding "tdesu" before the command,
> > the password is asked first, and the program works correctly.
(...)
> > Thierry
>
> Hi Thierry,
> I tried to reproduce the problem on my system but I didn't see anything
> wrong. But maybe I was doing something different from you.
> Could you file a bug report with detail instructions on how to reproduce
> the post? Some screenshots would also be useful .
> Thanks
>   Michele

OK, I once again forgot to link the pictures... :)

Hi Michele,

Not so easy... There's not much showing.

With kpackage, I get the same behaviour wether I start kpackage (from the 
TDE/kicker menu) or by right-clicking on the *.deb file and choosing "open 
with":

kpackage opens, I choose install, kpackage asks for the password (snapshot 1). 
Maybe a clue? It asks for the SUDO password - I have no sudo password. 
Neither the root nor the user password work. The dialog box disappears, then 
comes back, and so on.

If I modify the menu command in "tdesu kpackage", kpackage works (albeit I get 
a "tdeinit could not start tdesu" message...).

I tried starting kpackage from the command line but all I get is:

thierry@haswell:~$ kpackage
TQSettings::sync: failed to open '/etc/tqt3/tqt_plugins_3.5rc.tmp' for writing
TQLayout "unnamed" added to TQVBox "page", which already has a layout
thierry@haswell:~$ ^C
thierry@haswell:~$

No idea if this tells you something...

Gostcrypt shows a similar behaviour, but with no message at all. I can select 
the crypted partition, but when I want to mount it this requires the root 
password, which is not taken, so of course gostcrypt does not get the 
superuser rights (snapshot 2).
tdesu gostcrypt works perfectly, so this is not really a problem.

I also need tdesu to start synaptic, but this is more to get a nice dialog box 
(otherwise some text window is used to ask for the root password.

Thank you,

Thierry

Attachments: