Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
Could anyone tell me what ~/.local/share/keyrings/{login.keyring, user.keyring} contains ?
Do they have the keyring password, or credentials to websites for auto-login or something else ?
I'm not comfortable to keep the credentials in the system even if they are encrypted and trying to get rid of them as well as disabling the auto-login feature.
I don't really understand what do you want to try.
Actually you can rename those files (directories) and check what will happen (what will not work any more) and you will definitely see.
I use autologin. With user login I don't think much is displayed in keyring. But when I install Chrome, all the sites I visit and a log of detail is recorded. I use to be able to add: --password-store=basic to google-chrome.desktop and I wouldn't be bothered with keyring. I still can somewhat, but not on Ubuntu's favorites. I deal with it another way.
Basically, I want to delete files which contain credentials used for auto-login(and permanently disable auto-login). I thought those files under ~/.local/share/keyrings might be the ones, but since I wasn't sure, I asked this question.
The files there in my system have some binary data in them.
if you know where the auto-login credentials are stored, please let me know.
Last edited by lostinxlation; 04-22-2019 at 05:04 PM.
You do realise that your login credentials are the same that you use (on systems that use sudo) to sudo to root? I imagine that the display manager takes the credentials from /etc/shadow - by all means turn off auto login, but don't delete your credentials.
You do realise that your login credentials are the same that you use (on systems that use sudo) to sudo to root? I imagine that the display manager takes the credentials from /etc/shadow - by all means turn off auto login, but don't delete your credentials.
I'm running Debian 9.8.
There is a good chance that I completely misunderstand autologin via keyring. Quickly reading some descriptions about keyring, I somehow came to my understanding that the keyring has credentials for websites such as Google account or some other websites and that lead me to think there must be a file which keeps the autologin (encrypted) credentials in it. Isn't it correct ?
/etc/shadow or /etc/passwd contains credentials to log into the system(linux). Or does it have credentials to auto-login to websites too ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.