# NitroKey Pro 2 Linux Login with PAM Issue

**URL:** https://support.nitrokey.com/t/nitrokey-pro-2-linux-login-with-pam-issue/4047
**Category:** Misc
**Created:** [April 11, 2022, 8:34pm UTC](https://support.nitrokey.com/t/nitrokey-pro-2-linux-login-with-pam-issue/4047 "2022-04-11T20:34:08Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Kefedric](https://support.nitrokey.com/letter_avatar_proxy/v4/letter/k/96bed5/32.png) [@Kefedric](https://support.nitrokey.com/u/Kefedric)
#### Post date: [April 12, 2022, 9:46pm UTC](https://support.nitrokey.com/t/nitrokey-pro-2-linux-login-with-pam-issue/4047/3 "2022-04-12T21:46:05Z")

</div>

Hi,  
Thanks for the answer.

My problem evolved because I realized I worked with the wrong files…

Because after poldi install I only get files in /usr/share/poldi/ and I used these files.

After moving to /etc/poldi my issue evolved (in a good way I hope) and is similar to this 2019 topic [Problems using Nitrokey Pro for Linux pam authentication](https://support.nitrokey.com/t/problems-using-nitrokey-pro-for-linux-pam-authentication/1794)

My result is being prompt with pin but when I enter the pin I’am asked again for pin again again and again.

```auto
sudo pacman -Syu
Waiting for card for user `arch'...
Trying authentication as user `arch'...
Please unlock the card

Number: 0005 000099DB
Holder: arch
Please unlock the card

```

And when I miss-type the PIN I got no other result

Result of scdaemon.log

```auto
2022-04-12 21:21:31 scdaemon[115234] detected reader 'Nitrokey Nitrokey Pro (0000000000000000000099DB) 00 00'
2022-04-12 21:21:34 scdaemon[115234] DBG: asking for PIN '||Please unlock the card%0A%0A^^Number^_: 0005 00009 9DB%0AHolder^_: arch '
2022-04-12 21:21:44 scdaemon[115234] le rappel du code personnel a renvoyé une erreur : Commande IPC inattendue

```

---

_[View the full topic](https://support.nitrokey.com/t/nitrokey-pro-2-linux-login-with-pam-issue/4047)._
