topic title: Cannot Login with usernam and password after install
10 posts
• Page 1 of 1
-
Posts: 1
- Joined: 20 Apr 2010
#1
The install went perfectly. I was asked to set a machine name, username and password, and a root password. When I rebooted after install it asks for username and password and every time I enter the password its like it doesn't recognize it and asks for username and password again. I set the same password for root and the default user. The GRUB menu at startup offer four possibilities, three versions of antiX (or so it seems), and a memory test. All three versions have the same problem.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Maybe the problem is having the same password for user and root.
Boot the init 3 option, login as root and give your root password., then type (without brackets)
passwd (username)
And it'll prompt you to enter a new password.
Boot the init 3 option, login as root and give your root password., then type (without brackets)
passwd (username)
And it'll prompt you to enter a new password.
-
Posts: 1,228
- Joined: 15 Jun 2008
#3
anti, just asking, did you ever see any problems in having the user password the same as the root one? It just doesn't make sense (one has nothing to do with the other), besides the user getting confused with it. I always use like that and even Open SUSE's installer defaults to that.
I'm inclined to believe that larry made some mistake with the passwords or it's a keyboard issue (Caps Lock on or different locale) but of course changing the password as you said solves it anyway (just again, I'm inclined to think that he could set the same password as the root account and it would work fine).
I'm inclined to believe that larry made some mistake with the passwords or it's a keyboard issue (Caps Lock on or different locale) but of course changing the password as you said solves it anyway (just again, I'm inclined to think that he could set the same password as the root account and it would work fine).
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
I think someone else posted something similar. Still there should really be any problem with having root ans user password the same, though I don't think it is a good idea myself.
-
Posts: 3
- Joined: 10 May 2010
#5
I've installed twice now and have a problem where I can not login as root using the password I entered during the install. I tried the boot init 3 suggestion above to change the password but when doing su to begin it does not accept the password there either. I know it's not a caps lock problem because the 'normal' user account I created works OK.
Any help?
Any help?
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#6
You could try setting up a new root account if you can login as user and su to root, by
su to root
Type"passwd" (without quotes)
It will then prompt you to type your new password, and then to confirm it.
Did you install to a saved /home partition?
su to root
Type"passwd" (without quotes)
It will then prompt you to type your new password, and then to confirm it.
Did you install to a saved /home partition?
-
Posts: 3
- Joined: 10 May 2010
#7
anti -
I did install with a separate /home partition.
OK. I logged in with the normal user account. I started a terminal session. Typed su and for giggles typed what should be the root password. It was accepted! I then exited the terminal session. I then started GParted, Synaptic and MEPIS User Assistant apps. Each requested the root password and it was accepted.
I then logged-out of the session to switch users. I enter username: root and the root password. Logon not accepted. I repeat all the above again. Same results.
Very unusual.
mikeg
I did install with a separate /home partition.
OK. I logged in with the normal user account. I started a terminal session. Typed su and for giggles typed what should be the root password. It was accepted! I then exited the terminal session. I then started GParted, Synaptic and MEPIS User Assistant apps. Each requested the root password and it was accepted.
I then logged-out of the session to switch users. I enter username: root and the root password. Logon not accepted. I repeat all the above again. Same results.
Very unusual.
mikeg
-
Posts: 1,228
- Joined: 15 Jun 2008
#8
mikeg, slim won't accept the root user.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#9
Ok, I get you.
By default you cannot login to X as root. If you want to do so, it is very easy. Just copy the .xinitrc from your home user directory to the root directory.
By default you cannot login to X as root. If you want to do so, it is very easy. Just copy the .xinitrc from your home user directory to the root directory.
-
Posts: 3
- Joined: 10 May 2010
#10
secipolla and anticapitalista -
Well that is a nice security feature (correct?). I guess now I will stop trying.
I really like antiX so far.
Thanks,
mikeg
Well that is a nice security feature (correct?). I guess now I will stop trying.
I really like antiX so far.
Thanks,
mikeg