You are not logged in.

#1 2015-06-06 23:07:18

yaourt
Member
Registered: 2015-06-06
Posts: 1

Cannot login on boot, can login through chroot

I have an Arch install and when I boot I get a LightDM webkit greeter I set up. However, every time i try to log in, it says my pasword is incorrect.
The same happens when I use TTY2 and I cannot login as my user or as root.

However, when I log into my other arch system i have installed and chroot in, it works and I can su -l myuser to log in.

/etc/shadow contains entries for both accounts.
/etc/passwd has the shell as /bin/bash

When I try passwd root or passwd myuser it doesn't ask for my previous password, just the new one twice.

Does anybody know why this happens and how I can fix it?

Offline

#2 2015-06-07 04:23:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: Cannot login on boot, can login through chroot

Anything useful in the journal.  You can read it inside the chroot environment.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-06-07 05:19:05

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Cannot login on boot, can login through chroot

yaourt wrote:

When I try passwd root or passwd myuser it doesn't ask for my previous password, just the new one twice.

That's normal if you are invoking passwd as root user.

yaourt wrote:

However, every time i try to log in, it says my pasword is incorrect.

Do as ewaller suggested and try to see if there is something interesting in the journal. However, are you sure that the keyboard layout that you use at login is the same you used when you set the password?


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#4 2015-06-07 11:16:19

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Cannot login on boot, can login through chroot

mauritiusdadd wrote:

However, are you sure that the keyboard layout that you use at login is the same you used when you set the password?

In a similar vein -- is caps-lock on?

Offline

Board footer

Powered by FluxBB