You are not logged in.

#1 2012-09-22 13:00:53

prash
Member
Registered: 2011-08-18
Posts: 55

[SOLVED] Must enter password twice at console after move to systemd

My system developed a problem after I transitioned to systemd. Whenever I try to login on one of the six virtual terminals, I am made to enter the password twice. The password MUST be correct both times, otherwise I am not allowed to login.
This is how a typical interaction goes:

Arch Linux 3.5.4-1-ARCH (tty2)

Prash5 login: prash
Password:
Password:
Last login: Sat Sep 22 14:53:22 CEST 2012 on tty2
Last login: Sat Sep 22 14:53:32 on tty2
[0 prash ~]
%

Any idea what could be causing this?

Last edited by prash (2012-10-04 07:54:39)

Offline

#2 2012-09-22 14:55:04

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,092
Website

Re: [SOLVED] Must enter password twice at console after move to systemd

You have pacnew files in /etc/pam.d which need attention...

Offline

#3 2012-09-22 22:19:19

prash
Member
Registered: 2011-08-18
Posts: 55

Re: [SOLVED] Must enter password twice at console after move to systemd

There was a file called "login.orig" which had the same content as "login"... just different spaces. I deleted that and rebooted. The problem remains unchanged.
Checking with pacman shows that each of the remaining files belongs to an installed package. I have pasted the output.

[0 prash /etc/pam.d]
% pacman -Qo *
chage is owned by shadow 4.1.5.1-1
chfn is owned by util-linux 2.21.2-5
chgpasswd is owned by shadow 4.1.5.1-1
chpasswd is owned by shadow 4.1.5.1-1
chsh is owned by util-linux 2.21.2-5
crond is owned by cronie 1.4.8-3
cups is owned by cups 1.6.1-6
groupadd is owned by shadow 4.1.5.1-1
groupdel is owned by shadow 4.1.5.1-1
groupmems is owned by shadow 4.1.5.1-1
groupmod is owned by shadow 4.1.5.1-1
i3lock is owned by i3lock 2.4.1-1
kde is owned by kdebase-workspace 4.9.1-3
kde-np is owned by kdebase-workspace 4.9.1-3
kscreensaver is owned by kdebase-workspace 4.9.1-3
lightdm is owned by lightdm 1.3.3-3
lightdm-autologin is owned by lightdm 1.3.3-3
lightdm-greeter is owned by lightdm 1.3.3-3
login is owned by util-linux 2.21.2-5
newusers is owned by shadow 4.1.5.1-1
other is owned by pambase 20120701-1
passwd is owned by shadow 4.1.5.1-1
polkit-1 is owned by polkit 0.105-1
samba is owned by samba 3.6.8-1
screen is owned by screen 4.0.3-13
shadow is owned by shadow 4.1.5.1-1
slim is owned by slim 1.3.4-3
sshd is owned by openssh 6.1p1-2
su is owned by coreutils 8.17-3
sudo is owned by sudo 1.8.6.p3-1
system-auth is owned by pambase 20120701-1
system-local-login is owned by pambase 20120701-1
system-login is owned by pambase 20120701-1
system-remote-login is owned by pambase 20120701-1
system-services is owned by pambase 20120701-1
useradd is owned by shadow 4.1.5.1-1
userdel is owned by shadow 4.1.5.1-1
usermod is owned by shadow 4.1.5.1-1
xscreensaver is owned by xscreensaver 5.19-1

Offline

#4 2012-10-04 06:57:32

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,815

Re: [SOLVED] Must enter password twice at console after move to systemd

https://bbs.archlinux.org/viewtopic.php?id=147517 and http://superuser.com/questions/474203/p … boot-login since I just ran across this problem on my system (hardly use ttys).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2012-10-04 07:54:03

prash
Member
Registered: 2011-08-18
Posts: 55

Re: [SOLVED] Must enter password twice at console after move to systemd

Indeed! Thank you for bringing it to my attention. Somehow I missed the post when I searched the forums. I am marking it as solved now.

Quick note for anyone else who stumbles upon this thread:

% cd /etc/pam.d                                                  
% sudo mv login login-bak        
% sudo pacman -S util-linux

Last edited by prash (2012-10-04 07:55:12)

Offline

Board footer

Powered by FluxBB