trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

Re: [trinity-users] KdeSudo password problem

From: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 22 Jun 2012 12:34:42 -0500
> Le jeudi 21 juin 2012, Marc Chénier a écrit :
>> Le jeudi 21 juin 2012, Slávek Banko a écrit :
>>
>> > > Slávek Banko wrote:
>> >
>> > Ha, I not thought that KDE4 applications could have a version number
>> 3.x.
>> > Yes, it seems to me that the problem is probably elsewhere.
>>
>> Hi,
>>
>> I would just like to point out that the problem is only with kdesudo,
>> and not with sudo. It is as if kdesudo does not know where to look to
>> check my password. As you have certainly noticed, my knowledge of
>> informatics is minimal. I get along as long as things are
>> straightforward and simple. Oneiric TDE is my main system for all my
>> private files and professional work, so I need it to work...
>> I did not manage to remove the (non-trinity) kdesudo package because of
>> dependencies, but i renamed it old_kdesu.
>> >
>> > How do you set /etc/sudoers (or /etc/sudoers.d/)? On the test machine
>> I have
>> > my account in the group "sudo", and there to me it works.
>> >
>> > Slavek
>>
>> I did not set anything in those files. I am the only user (marco) on my
>> linux machine.
>>
>> The  etc/sudoers.d  directory contains only the standard README file.
>>
>> Here are the contents of the /etc/sudoers file :
>>
>> ++++++++++++++++++++++++++
>> marco@Blacknight:/etc$ sudo cat sudoers
>> [sudo] password for marco:
>> #
>> # This file MUST be edited with the 'visudo' command as root.
>> #
>> # Please consider adding local content in /etc/sudoers.d/ instead of
>> # directly modifying this file.
>> #
>> # See the man page for details on how to write a sudoers file.
>> #
>> Defaults        env_reset
>>
>> # Host alias specification
>>
>> # User alias specification
>>
>> # Cmnd alias specification
>>
>> # User privilege specification
>> root    ALL=(ALL:ALL) ALL
>>
>> # Members of the admin group may gain root privileges
>> %admin ALL=(ALL) ALL
>>
>> # Allow members of group sudo to execute any command
>> %sudo   ALL=(ALL:ALL) ALL
>>
>> #includedir /etc/sudoers.d
>> +++++++++++++++++++++++++++++++++
>>
>>
>> If i need to do something to this file, please be specific.
>>
>> Thanks again
>>
>> Marco
>>
>>
>>
>
> I used the 'usermod' command to add sudo to the groups that belong to user
> marco. I checked with the command 'id' : it shows user marco as part of
> the admin and sudo groups.
>
> But when asked for my password by a kde application in a Kdesudo window, I
> still get bumped after 3 tries with the message 'Wrong password. Exiting'.
>  Any clues?
>
> Marco

The only thing I can think of off the top of my head is that perhaps
tdesu, not tdesudo, is executing.  There was a problem with an incorrect
message string in tdesu where it was prompting for the user's password but
actually expected the root password; this has been fixed in GIT but has
not been repaired in 3.5.13 AFAIK.

Tim