Want to remove Unlock login key ring when no keyring directory is there?
Solution 1
The answer is provided in Ubuntu One help faq. The link is here.
That says:
- 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"
- Right-click on the "Passwords" folder and select "Change Password"
- 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.
- Right-click on the "Passwords" entry and select "Delete".
- 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.
- Press super key, or click launcher orb, enter password and select "Passwords and Keys" when it comes up
- Right click "Login" for Passwords section
- Follow the prompts and set an empty password
- 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?
Related videos on Youtube
Fimpellizzeri
Updated on September 18, 2022Comments
-
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 like1,32,3.5,1112484819,000000000000101100\r\n
s
is the end of a string inh
, specifically the last number string- For each 1 in string
s
, the while loop writes the current string ofh
on a correspondingly indexedgenre_[num].csv
file
So, for instance,
h[2]
is the example string above, and the filesgenre_12.csv
,genre_14.csv
andgenre_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 over 10 yearsYou 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 over 10 yearsWhen 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 almost 10 yearsWhat 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 over 10 yearsHave you changed your keyring password to login password?
-
Derek Zhang almost 8 yearsAlso, where you wrote j = j+ 1, you can instead write j += 1. This will save you save typing. :D
-
Fimpellizzeri almost 8 yearsSorry about the identation; I mistyped. I corrected indentation in the question. Also; thanks for the increment tip
-
Fimpellizzeri almost 8 yearsKnew it had to be something basic. Thank you very much!