openSUSE Forums > Archives > Novell Archives » Need help on How to reset/remove the remember password checkbox

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-May-2008, 12:48
Damien
Guest
 
Posts: n/a
Default Need help on How to reset/remove the remember password checkbox

Hi,

Using OpenSUSE 10.3 x86_64 with KDE 3.5.9 "release 61.3".

Every time i want to start an application that needs root priviledges,
using a desktop icon or the Kmenu, (Smart, Konqueror in su mode, etc.)
i have to uncheck the remember checkbox because i don't want the
application to remember the password.

It is very annoying. I'm certain that this behavior was not present
before. It's been acting like that since the last 4 or 5 KDE updates
(not exactly sure when it started). I did not find were i could disable
this feature.

Can anyone help ?

Thanks,

Damien.
  #2 (permalink)  
Old 19-May-2008, 13:41
Uwe Buckesfeld
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

Damien,

does it remember the password if you leave the box checked? It never did for me.

Uwe

--
Novell Support Connection Volunteer SysOp
Please don't send me support related e-mail unless I ask you to do so.
  #3 (permalink)  
Old 19-May-2008, 16:03
jdd
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

Uwe Buckesfeld wrote:
> Damien,
>
> does it remember the password if you leave the box checked? It never did
> for me.
>
> Uwe
>

AFAIK Kde needs Kwallet to remember passwords

jdd

--
http://www.dodin.net
  #4 (permalink)  
Old 19-May-2008, 16:07
Damien
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

On Mon, 19 May 2008 18:41:25 +0000, Uwe Buckesfeld wrote*:

Hi Uwe,
>
> does it remember the password if you leave the box checked? It never did
> for me.
>


Yes it does.

I have a link on my desktop for root mail and left the box checked, and
it does remember the password. Log off/on does not change the behavior
but a reboot "resets" it. Meaning that i'm asked for the root password
again...

But wait, after some more testing... :-)

All this seems totally random... Sometimes after running a couple of times
mail for root (for example) without being asked for the password, Yast or Konqueror
in su mode refuse to start (bouncing icon until it dies). If i keep trying
to run Yast it will eventually start asking for the password. After that
if i run mail for root, i'm asked for the password again (checkbox still on).
Weird...

I did some more research and found this in /var/log/messages:
(watch for the wrapping)

May 19 16:06:13 athlon sudo: damien : TTY=pts/4 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:06:13 athlon sudo: damien : TTY=pts/6 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:06:23 athlon sudo: pam_unix2(sudo:auth): conversation failed
May 19 16:06:23 athlon sudo: damien : pam_authenticate: Conversation error ; TTY=pts/11 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:07:00 athlon sudo: damien : TTY=pts/6 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:07:02 athlon sudo: pam_unix2(sudo:auth): conversation failed
May 19 16:07:02 athlon sudo: damien : pam_authenticate: Conversation error ; TTY=pts/12 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:07:25 athlon sudo: damien : TTY=pts/4 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:07:25 athlon sudo: damien : TTY=pts/6 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:08:57 athlon sudo: pam_unix2(sudo:auth): conversation failed
May 19 16:08:57 athlon sudo: damien : pam_authenticate: Conversation error ; TTY=pts/13 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
May 19 16:09:30 athlon sudo: pam_unix2(sudo:auth): conversation failed
May 19 16:09:30 athlon sudo: damien : pam_authenticate: Conversation error ; TTY=pts/14 ; PWD=/home/damien ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -

The saslauthd daemon was not running so i started it. It did not change anything.

I have this in /etc/sysconfig/security:

CHECK_PERMISSIONS="set"
PERMISSION_SECURITY="secure local"
CHECK_SIGNATURES="yes"

and this in /etc/sysconfig/saslauthd:

SASLAUTHD_AUTHMECH=pam
SASLAUTHD_THREADS=5

and finally, here's what is installed for pam:

pam-modules-10.3-47
pam-32bit-0.99.8.1-15
pam-0.99.8.1-15
pam-config-0.23-9.2

All from OSS repo exept pam-config from Update repo.

Thanks for your help,

Damien.

  #5 (permalink)  
Old 19-May-2008, 23:18
Malcolm
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

On Mon, 19 May 2008 21:07:18 GMT
Damien <damien@no.where> wrote:

> On Mon, 19 May 2008 18:41:25 +0000, Uwe Buckesfeld wrote*:
>
> Hi Uwe,
> >
> > does it remember the password if you leave the box checked? It
> > never did for me.
> >

>
> Yes it does.
>
> I have a link on my desktop for root mail

<snip>
Hi
Aside from you issue, why not just add yourself to the aliases file to
receive mail for root?

edit the /etc/aliases file and run the comman newaliases

--
Cheers Malcolm (Linux Counter #276890)
SLED 10.0 SP1 x86_64 Kernel 2.6.16.54-0.2.5-smp
up 0:38, 1 user, load average: 0.91, 0.70, 0.65

  #6 (permalink)  
Old 20-May-2008, 17:02
Damien
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

On Tue, 20 May 2008 04:18:19 +0000, Malcolm wrote*:

Hi Malcolm,

> Aside from you issue, why not just add yourself to the aliases file to
> receive mail for root?
>


I use KMail to monitor a few things (raid, Smart updates...)
There is really no need to add myself to the aliases list as
i don't check it frequently. I use TB for my daily needs.

Thanks for the suggestion.

Damien.

  #7 (permalink)  
Old 21-May-2008, 01:11
Uwe Buckesfeld
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

Damien,

looks like it should be configurable, but this option is missing from kcontrol (Security and Privacy, Password...)
Let me see what I can find out, I do not find the config file for kdesu.

Uwe


--
Novell Support Connection Volunteer SysOp
Please don't send me support related e-mail unless I ask you to do so.
  #8 (permalink)  
Old 21-May-2008, 18:07
Damien
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

On Wed, 21 May 2008 06:11:19 +0000, Uwe Buckesfeld wrote*:

Hi Uwe,

> looks like it should be configurable, but this option is missing from
> kcontrol (Security and Privacy, Password...) Let me see what I can find
> out, I do not find the config file for kdesu.


It should be configurable! I think. Or at least remember the choice
you made.

Interesting reading:

http://api.kde.org/3.5-api/kdelibs-a...ordDialog.html

or if you have it
/opt/kde3/share/doc/HTML/en/kdelibs-apidocs/kdeui/html/classKPasswordDialog.html

Search for "Definition at line 554 of file kpassdlg.cpp"
and read a couple of lines before (under Parameters...).

I'm not a programmer so it's a little bit difficult for me to understand
everything i read (kdesu.cpp, kdesud.cpp, sudlg.cpp, etc.) :-)

Thanks for all you help.

Damien.



  #9 (permalink)  
Old 26-May-2008, 09:33
Uwe Buckesfeld
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

Damien,

here's what you could do:

-Run kdesu with the -n switch:
Do not keep the password. This disables the keep password check‐box
in the password dialog.


or

-s Stop the kdesu daemon. This is the daemon that caches successful
passwords in the background. This feature may also be disabled with -n when
KDE su is initially run.

HTH
Uwe

--
Novell Support Connection Volunteer SysOp
Please don't send me support related e-mail unless I ask you to do so.
  #10 (permalink)  
Old 26-May-2008, 16:40
Damien
Guest
 
Posts: n/a
Default Re: Need help on How to reset/remove the remember password checkbox

On Mon, 26 May 2008 14:33:56 +0000, Uwe Buckesfeld wrote*:

Hi Uwe,

> -Run kdesu with the -n switch:


This works at the command line. I'm using a desktop link and there is no
option for kdesu. Only run as a different user.

> -s Stop the kdesu daemon. This is the daemon that caches successful
> passwords in the background. This feature may also be disabled with -n
> when KDE su is initially run.


If i kill the process (kdesud), it restart as soon as i run a program
(desktop link), that needs root priviledges.

Or did i miss something ?

Damien.
 
Page 1 of 2 1 2

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2