![]() Registered Member ![]()
|
I use KDE Telepathy as coprorate messanger, so I must automate pre-configure all settings, user must enter only one password at login and that's all.
By default, KDE Telepathy store account password in KWallet, but if I disable KWallet - option "Save password" is not available. I have found config file in ~/.local/share/telepathy/mission-control/accounts.cfg but it miss string for password. Can I add new string in this file when I place plain-text or encrypted password for account? I understand that this is unsecured way, but this is better than each user will ask me what it must do after login for going online. |
![]() KDE Developer ![]()
|
Enable kwallet.
Set the password to be empty. It will store passwords without any annoying prompts. |
![]() Registered Member ![]()
|
Thanks, I already think about this way, but don't find the way hoe to automatically create empty wallet and insert password into KWallet automatically via command line or script. Maybe you can provide some examples how to do this?
Main task is to automatically create fully configured Jabber accoont in KDE Telepathy when creating user, so I know Jabber login and plain text password for user and can run the script with this arguments that do all work. |
![]() KDE Developer ![]()
|
Oh, that sounds interesting. Is this a big rollout?
There is a way to do it that bypasses kwallet. You can create an account using mc-tool. "mc-tool add gabble/jabber MyAccount string:account=foo@bar.com string:password=pa55w0rd" The backend uses gnome keyring. Obviously in KDE this is bad, so normally we never give the backend the passwords, and store them in kwallet ourselves. Note this will break being able to change the password in the UI in future. I wouldn't really recommend this approach. |
![]() Registered Member ![]()
|
Last edited by jacquelinefrancis on Mon Apr 28, 2014 2:42 am, edited 1 time in total.
|
![]() Registered Member ![]()
|
I solve this problem via creating KWallet with empty password and write password into it via kwalletcli tool, so after this KDE Telepathy get it well and connects without prompting password.
|
![]() Administrator ![]()
|
Can you please clarify what you're referring to - the KDE Wallet or the GNOME Keyring?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() KDE Developer ![]()
|
We haven't fallen back to gnome keyring since 0.3; almost 2 years ago. |
![]() Administrator ![]()
|
Sorry for not being clear - I was referring to @jacquelinefrancis post.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]