LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   evolution does not forget password when shut down (https://www.linuxquestions.org/questions/linux-general-1/evolution-does-not-forget-password-when-shut-down-4175534928/)

monsteriname 02-24-2015 02:40 AM

evolution does not forget password when shut down
 
Evolution does not forget password when shut down, but it does after logging out of desktop and logging back in.

We have 2 accounts configured and working. They are both EWS with outlook exchange.

KDE desktop, Mageia 4, Evolution 3.10.2, gnome keyring password thingy was installed just for this I think.

I want evolution to NOT remember the password for one of the accounts.

I would be more than happy if it did not remember the password for both accounts. No big deal.

Evolution asks for password at startup(OK), but I have not found a way to log off of an account before closing Evolutuion. And when we open it again, it can still access email without asking for password.

Evolution only asks for password after logging out and then back in to desktop.

I used the seahorse password manager to remove any passwords.

I manually went to ~/.gnome-private and made sure there was nothing in there.



Any help greatly appreciated, thank you.

rtmistler 02-25-2015 02:35 PM

Check for instances of Evolution still running after you close it. Mine stays up, or part of it does. Doesn't bother me, but just something I've noticed. If you see that, then kill the remaining process and see if that then causes it to purge the memory of the password. Because I believe what does stay up is something to do with monitoring for incoming messages.

monsteriname 02-25-2015 10:28 PM

Thanks rt.

In addition to killing anything with evolution in the name (one at a time and testing in between), I've used evolution --force-shutdown. No effect. Still logged on after starting evolution back up. (unless I stop and start the desktop)

I have tried the command >gnome-keyring-daemon -r -d, and stopping and starting gnome keyring on the command line. These that involve keyring have all caused evolution to forget the password - but I do not get a password prompt, even upon restarting evolution, it just tries to connect to exchange with no password(it seems) but does not bring up thepassword prompt. Still, only after I stop and start the desktop will it both forget the password AND bring up the password dialog.

monsteriname 02-26-2015 12:04 AM

I'll be,
Someone named mcrha on the gnome evolution irc thing had started helping me with something called "secret-tool"

I think its part of the gpg or gnome-keyring stuff or something. Anyway, he left before I figured out what to do with it but I messed with it and discovered it removes the password without causing evolution to choke.

All ran as normal user, it goes kind of as follows;

Code:

ls ~/.cache/evolution/sources

#then look in each of the results for the password you want to go away;
secret-tool lookup "e-source-uid" xxxxxxxxx.xxxxx.x@xxxxx

#when you find the one you want;
secret-tool clear "e-source-uid" xxxxxxxxx.xxxxx.x@xxxxx

And thats pretty much it. He did warn me and I'll pass it along, it shows all the passwords even if its one you are not supposed to know. In my case I already knew them all anyway so I wasn't breaking any confidence or such.

I have rebooted and the value-named folders that hold the passwords have not changed names. Not what I expected - not because of my knowledge - but because I'm not usually that lucky.

It should be trivial to cause the part needed, to run when Evolution closes. Especially if I don't even have to capture a new(different) value every time.

Thanks to all,


All times are GMT -5. The time now is 04:21 PM.