trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-users] Superuser rights problem

From: Greg Madden <gomadtroll@...>
Date: Thu, 31 Dec 2015 06:49:38 -0900

On Wednesday 30 December 2015 12:40:45 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

tdesu is a graphical frontend to  'su', root privledges, afaik uses the root 
password, This os different that the 'sudo' related TDE stuff, sudo et al 
uses the users password.The user has to be in the sudo group to work. No 
separate sudo password.

Your second png shows tdesudo being installed,  all the TDE sudo packages 
depend on 'sudo', should be installed I 'am thinking, add users to the 'sudo' 
group. 

another way to manage sudo users is with 'visudo' as root.

I would be supspicious of Gnome stuff, is gksu installed?


-- 
Greg