Login incorrect.

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Login incorrect.

Postby Vesco » Wed Nov 11, 2015 3:53 pm

Hi all,

After a a pacman -Syu made by shh, i can not login(ssh - console) to my raspberry running archlinux.
I get the error: Login incorrect after i type the login username; can't even type any kind of password.

Any help ?
I can read the sd card from my only available pc running windows 10.

I am very newbie, I did some research but i could't find anything to suite my issues.

Best regards.
Vesco
 
Posts: 9
Joined: Mon Aug 31, 2015 7:25 am

Re: Login incorrect.

Postby haiku » Wed Nov 11, 2015 4:48 pm

Hi,
did you try the login: alarm/alarm ? You can't ssh as root by default
haiku
 
Posts: 96
Joined: Tue May 31, 2011 6:34 am

Re: Login incorrect.

Postby Vesco » Wed Nov 11, 2015 4:51 pm

Yea, i tried evrything.
After i typt the login username it gives me the Login incorrect error.

i can not type any password.
Vesco
 
Posts: 9
Joined: Mon Aug 31, 2015 7:25 am

Re: Login incorrect.

Postby haiku » Wed Nov 11, 2015 5:17 pm

darn, i've the same issue. I can't login after updating my RPi2.. :/ Permission denied (publickey,password)
haiku
 
Posts: 96
Joined: Tue May 31, 2011 6:34 am

Re: Login incorrect.

Postby cbredi » Wed Nov 11, 2015 6:52 pm

It appears that libtirpc upgrade (0.3.2-2 -> 1.0.1-2) broke PAM which is used by sshd:

$this->bbcode_second_pass_code('', 'Jan 01 04:00:21 p1 sshd[492]: PAM unable to dlopen(/usr/lib/security/pam_unix.so): libtirpc.so.1: cannot open shared object file: No such file or directory
Jan 01 04:00:21 p1 sshd[492]: PAM adding faulty module: /usr/lib/security/pam_unix.so
Jan 01 04:00:21 p1 sshd[492]: PAM unable to dlopen(/usr/lib/security/pam_access.so): libtirpc.so.1: cannot open shared object file: No such file or directory
Jan 01 04:00:21 p1 sshd[492]: PAM adding faulty module: /usr/lib/security/pam_access.so
Jan 01 04:00:21 p1 sshd[492]: fatal: Access denied for user root by PAM account configuration [preauth]
')

Can log in after disabling PAM use in sshd by changing $this->bbcode_second_pass_code('', 'UsePAM yes') line in /etc/ssh/sshd_config to $this->bbcode_second_pass_code('', '#UsePAM yes') and restarting sshd with $this->bbcode_second_pass_code('', 'systemctl restart sshd')

Regards,
Cristian
cbredi
 
Posts: 4
Joined: Wed Nov 11, 2015 6:45 pm

Re: Login incorrect.

Postby Vesco » Wed Nov 11, 2015 8:22 pm

I'd like to try what you wrote, but i can't edit the partition of the sd card from my windows machine.
Any idea ?
Vesco
 
Posts: 9
Joined: Mon Aug 31, 2015 7:25 am

Re: Login incorrect.

Postby WarheadsSE » Wed Nov 11, 2015 9:20 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Login incorrect.

Postby Vesco » Thu Nov 12, 2015 2:56 pm

Hey guys,
I di what Cristian said, and now i can SSH back to the pi!
Also did pacman -Syu and everything is good now!

Many many thanks !

(Do i nerd to keep #UsePAM yes uncommented ?)
Vesco
 
Posts: 9
Joined: Mon Aug 31, 2015 7:25 am

Re: Login incorrect.

Postby winlu » Fri Nov 13, 2015 11:59 am

After the -Syu updated PAM you can reenable it
winlu
 
Posts: 13
Joined: Sat Mar 01, 2014 2:55 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 7 guests