trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-users] Superuser rights problem

From: Michele Calgaro <michele.calgaro@...>
Date: Thu, 31 Dec 2015 15:26:05 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 12/30/2015 10:40 PM, Thierry de Coulon wrote:
> 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
> 
> 

Hi Thierry,
I tried the same operation on my system (Debian/Stretch) and did not have any problem, after typing the root password
I could install a package and also remove it.
Obviously there must be some differences somewhere, so I have file bug report 2570 so we don't forget about it.

Cheers and Happy New Year to all users.
  Michele


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJWhTr9AAoJECp1t8qK3tXPAlsP+gKGmPQR/iSo8WTvnxABrT7p
NgAzNy5hEg0BObb6yQ8kwO5RohlyS+ogjObEvMoex9Hgmcc4eRbNJzAPW2NSeFHT
mmX3x035QXRv6IcBrK4thYdBF7pPjL0yJ4igplILTyhE9h1RNfnmIKAnEGLbgYac
OZPYoK676QtetWq1lRqVgu1QOtBCH9EUoDzLx9I3TOaw9yOYTi3s9hOU2Tu6HVgc
F5OxVR8FphIwRT32jK1brkwXmTj8g5P+RVegf7RnXoblTdvRH+NlxLwpdWbo/c07
UWYgYHzm5Uc1AfX2iQVlSFA5jD2E2OHvlmG9pMQQkcqprONmhzEIi5J9H6w09P9v
8JkyUjvrcxqSXdW1UX+3gtzOwuh0rqeE0xhzlG12WbCOrc21kv8Y7chl4EC1AeZ6
Za0hTm/kfMOf1i0LJYntfeZo4s7C79xVABP/X14YwKt3izEZMuApTNpAr0eN/wGn
PFhPYOYLcY6QfUOL59htWpBuRIjTBrSvbKmTXi1IZH5h6ZodJtbrlQ0ZyE1YJW+7
noCEiBQIulyV+kyfQkF5HDFzf1pPW8xVmRw42aEod/UbcoIGB7yH55ZfUlP+Tq1s
LyzZbM5oeHQuZ9n1eIwdaJ0z2Am9n/aCyiWzGrTjnD+Qhf+tK8pB3RsfXLJmCGs1
+IJQIpmGmArGYikr8TD6
=k+18
-----END PGP SIGNATURE-----