Ubuntu requires a key ring to unlock the password

Source: Internet
Author: User

In ubuntu's password and secret ring (seahorse), I personally think there will be a password security problem,

Here we can see some program-saved clear codes. Generally, manual logon will automatically unlock them, and the passwords stored in them will be displayed.

If you log on automatically, it will not be unlocked automatically. You need to manually enter the password to unlock it when using it, which is not very convenient.

 

The passwords required by some Ubuntu programs are stored in the key ring.

For example, a program for obtaining emails will save your logon password to the key ring and access the key ring to obtain the password next time. The passwords in the key ring are saved in plaintext, therefore, the system
The default key ring is encrypted and the password is the logon password. In this way, if a program needs to access the key ring, the password must be provided. This is safe, but it is too troublesome for a lazy person like us.
Some.

There are two solutions:

1. Remove the password of the default key ring.

Open the application-attachment-password and encryption key (or enter seahorse in the terminal), switch to the password tab, and you will see a password key ring (my key ring is login ), right-click and change the password. Then, do not enter anything and submit it directly. In this way, the password of the default key ring is removed.

2. This method is displayed on the Internet. You do not need to delete the key ring password, but the key ring password should be saved in plain text. I have never tried it.

The procedure is as follows:
1. Open the terminal and enter sudo apt-Get install libpam-keyring.
2. Create a new script with the following content:
#! /Bin/sh
Exec echo-N "mykeyringpassword" |/usr/lib/libpam-keyring/PAM-keyring-tool-u-s
Here, mykeyringpassword is the password to be unlocked by your key ring.
3. Add the executable permission to the file.
4. In system-preferences-session, add the script to start automatically at startup.

However, this is not safe after all. You can only choose between convenience and security.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.