Want to remove Unlock login key ring when no keyring directory is there?

78

Solution 1

The answer is provided in Ubuntu One help faq. The link is here.

That says:

  1. Open Applications->Accessories->Passwords And Encryption Keys or on Ubuntu 11.04 or greater press the "super key" (Windows key on most keyboards) and type "Passwords" then click on "Passwords and Encryption Keys"
  2. Right-click on the "Passwords" folder and select "Change Password"
  3. Set the new keyring password to be the same as your login password.

Alternatively, if you don't know the old password at step 2.

  1. Right-click on the "Passwords" entry and select "Delete".
  2. Now create a new "Passwords" entry and give it a password (likely the same as your login for simplest usage.)

Solution 2

For others coming across this from Google who have a fully encrypted hard drive and want to remove the passwords here is an alternative.

This will disable the key ring prompt by removing the password.

Set the key ring to no password.

  1. Press super key, or click launcher orb, enter password and select "Passwords and Keys" when it comes up
  2. Right click "Login" for Passwords section
  3. Follow the prompts and set an empty password
  4. Accept the prompt for storing keys/data unencrypted

I do realize some people are gonna jump all over this answer, but if you have your entire hard drive encrypted with LUKS, then the data is already encrypted and the drive unlocked/decrypted during startup prompt.

If you're like me and prefer your drive encrypted, then typing both the drive encryption password and then a login password is redundant and annoying.

Some references:

http://ubuntuhandbook.org/index.php/2013/07/disable-unlock-login-keyring-ubuntu-13-04/

How secure is an encrypted LUKS filesystem?

Share:
78

Related videos on Youtube

Fimpellizzeri
Author by

Fimpellizzeri

Updated on September 18, 2022

Comments

  • Fimpellizzeri
    Fimpellizzeri over 1 year

    I've been having trouble with the following piece of Python code. It's running without errors, but it isn't exactly giving me the expected output; no files at all are being written.

    for l in h:                                                   
        r=l.rfind(",")+1
        s=l[r:-2]
        j=0
        while j<18:
            if s[j]==1:
                f=codecs.open("genre_"+str(j)+".csv","w","utf-8")
                f.write(l)
                f.close()
            j=j+1
    
    • h is a list of strings, typically something like 1,32,3.5,1112484819,000000000000101100\r\n
    • s is the end of a string in h , specifically the last number string
    • For each 1 in string s, the while loop writes the current string of h on a correspondingly indexed genre_[num].csv file

    So, for instance, h[2] is the example string above, and the files genre_12.csv, genre_14.csv and genre_15.csv should be written with it. The thing is, after running the code, these genre files aren't even being created.

    I've tried other variations of the code ('with codecs.open as f:') but fared no better. Am I missing something obvious?

    • harry
      harry over 10 years
      You see there is the problem. There is nothing to edit or do right click on... if i try to make a new keyring named as login it hangs up. Even the folder in gnome2. doesn't has any folder named keyring or login rather it is empty...
    • harry
      harry over 10 years
      When I open passwords and keys, there is no key or keyring or tabs. though there is an option adding a keyring and others. So you see there is nothing to change.
    • Admin
      Admin almost 10 years
      What if you don't know the original user password, which was the reason for the change in the 1st place? You can't add a new password. Tks
  • IronMan007
    IronMan007 over 10 years
    Have you changed your keyring password to login password?
  • Derek Zhang
    Derek Zhang almost 8 years
    Also, where you wrote j = j+ 1, you can instead write j += 1. This will save you save typing. :D
  • Fimpellizzeri
    Fimpellizzeri almost 8 years
    Sorry about the identation; I mistyped. I corrected indentation in the question. Also; thanks for the increment tip
  • Fimpellizzeri
    Fimpellizzeri almost 8 years
    Knew it had to be something basic. Thank you very much!