6

here's my problem. When I log in I'm beeing asked for a password connecting to the internet which is strange because I'm the only user and the admin. I have auto log in and it never asks for passwords, (except when i do administrative tasks.) I have looked in the menu (System --> preferences, but i can't find any topic that say's passwords or similar. the only place where I have found a way to change my password is my user ((System --> preferences --> user and groups). I did try to take screenshots but nothing happened, which also is strange.

I'm running ubuntu 10.04 LTS Desktop on my Asus 1201n (12").

5
  • 2
    Are you connecting via wireless or wired connection. I had this same problem with a wireless connection when I was set up for auto login. I think the problem is that the WPA password for the wireless connection is stored on your ubuntu account's key ring, and since you did not authenticate when logging in, you need to authenticate when trying to bring up the network connection. You might try changing the configuration of your connection in Network Manager to be available for all users and this may allow the connection without you needing to be authenticated to use it. Feb 12, 2011 at 16:11
  • thanks this works! I canged all the passwd with (sudo passwd) after I did what you said.
    – Alvar
    Feb 12, 2011 at 18:20
  • I've voted up Dennis's comment - suggest you do the same. Should have been an "answer" though and would therefore have claimed the "accepted" reputation too.
    – Scaine
    Feb 12, 2011 at 18:31
  • how do i up vote the comment?
    – Alvar
    Feb 12, 2011 at 19:00
  • I didn't want to post my suggestion as an answer since it was just speculation and could not test it myself. I'm glad it helped! Feb 13, 2011 at 4:50

4 Answers 4

10

Sounds like your keychain is out of sync with your password. Go to System/Preferences/Password and Encryption keys, then choose the "login" chain.

Seahorse

The only way that I know works is to set this to a blank password - you will be prompted on whether you are willing to trust this "unsafe storage" method, since your keyring will unlock automatically on login.

I think you can also match the password on the login keychain to match that of your login password. But a) I haven't tested that and b) you have to remember to change your keychain password whenever you change your login password.

As the only person on my laptop, configured with encrypted home, I'm happy with unsafe storage, but your mileage may vary.

5
  • I don't have a menu trail that leads to a password and encription key! My menu start with personal file sharing and over that is a openjdk java.
    – Alvar
    Feb 12, 2011 at 17:39
  • 2
    It's possible that "Passwords and Encryptions keys" is still in the Applications/Accessories menu for you. It was moved in 10.10, I think. Could be wrong. You can open a terminal and do sudo apt-get install seahorse to install it if you don't have it.
    – Scaine
    Feb 12, 2011 at 18:26
  • 1
    You may still have this in Applications/Accessories. If you can't it there either, try using ALT-F2 and enter seahorse. If that doesn't work, you don't have it installed. Use sudo apt-get install seahorse to install it.
    – Scaine
    Feb 12, 2011 at 18:30
  • 1
    haha, it is under applications accessories! awesome!
    – Alvar
    Feb 12, 2011 at 18:51
  • It was changed to system/preferences in 10.10, I think, which makes sense now that I notice you're running 10.04.
    – Scaine
    Feb 12, 2011 at 20:37
4

Chrome asks for the password when your account is set for autologin. Doing this makes it so that the keyring doesn't load when you reset/reboot your system.

Chrome is asking for the password to the keyring so it can access stored information in the keyring. You can view the keyring on your system by running the command seahorse from a terminal window. You can also just bypass the asking by closing the window and still get to your sites without a problem. Some of the security may not load properly.

However, you can use the following command from a terminal window to bypass the keyring asking:

google-chrome-stable --password-store=basic

Hope this helps!

Copied entirely from @Terrance's answer here

1
  • I use autologin with full disk encryption.
    – jarno
    Sep 19, 2019 at 13:15
2

It's also possible that since your using auto-login, you might be hitting another problem - sometimes network manager doesn't seem to save the WEP/WPA key properly. You can usually get round this by opening the connection and changing it "available to all users".

So, right click on network manager, choose "Edit Connections". Find your connection, and choose "Properties", then tick the "Available to all users" box at the bottom.

enter image description here

5
  • This answer is the same as the comment is on my first post. But it works! woho!
    – Alvar
    Feb 12, 2011 at 18:14
  • True. Didn't think it was the same issue though, so I put two answers to cover both possibilities. Answers shouldn't be made in comments (although sometimes it just happends!) - only "answers" can be "accepted".
    – Scaine
    Feb 12, 2011 at 18:29
  • well we have to just up vote the comment then.. :)
    – Alvar
    Feb 23, 2011 at 12:35
  • There is only one user so LOL
    – Alvar
    Jun 8, 2011 at 12:10
  • That's irrelevant, really - the main thing is that ticking that box bypasses the use of gnome-keyring for saving your password. Instead, it's dumped in a root-only-readable file somewhere in /etc. It's less secure, but seems more reliable. Having said that, I haven't seen this "bug" since Lucid LTS 10.04. Maverick 10.10 has been fine for me. I haven't upgraded to Natty 11.04 yet, so can't comment.
    – Scaine
    Jun 8, 2011 at 13:40
1

In order to change the root password, open a terminal

sudo passwd

When asked, provide your user password in order to perform sudo tasks, then enter the "new UNIX password" twice.

Now the root user has a new password.

You will see something like this:

geppettvs@HANNAH:~$ sudo passwd
[sudo] password for geppettvs: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
geppettvs@HANNAH:~$

Good luck!

6
  • If you're using encrypted home, this will break your install. You should use the Me Menu to change your password.
    – Scaine
    Feb 12, 2011 at 16:54
  • It didn't broke with mine, but thanks for the warning. Feb 12, 2011 at 17:21
  • And you're using encrypted home too?
    – Scaine
    Feb 12, 2011 at 20:39
  • Yes I do. :) :) :) Feb 13, 2011 at 23:54
  • changing your password doesn't break encrypted home. using passwd is safe at all times. it is the backend to any GUI allowing that btw. however, this answer is unrelated to the OP. Nov 12, 2019 at 11:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .