You are not logged in.

#1 2022-08-29 03:25:13

eU9UFAD
Member
Registered: 2017-08-05
Posts: 5

[SOLVED] passwd: no such module

I installed Arch using:

mount /dev/sda3 /mnt
mount /dev/sda1 /mnt/boot
mount /dev/nvme0n1p1 /mnt/efi
pacstrap /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
passwd

At the last command, trying to change the root passwd, I receive an error:

passwd: Module is unknown
passwd: passwd unchanged

Any ideas?

Last edited by eU9UFAD (2022-08-29 14:41:18)

Offline

#2 2022-08-29 06:57:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,138

Re: [SOLVED] passwd: no such module

passwd: no such module

Is that a google translate or the literal output?

pacman -Qikk shadow

Offline

#3 2022-08-29 13:47:12

eU9UFAD
Member
Registered: 2017-08-05
Posts: 5

Re: [SOLVED] passwd: no such module

seth wrote:

Is that a google translate or the literal output?

I was paraphrasing. I've changed the text in the original post to be the exact response from the system.

The output from

pacman -Qikk shadow

is quite long, so I can't reproduce it here, but the last two lines are:

backup file: shadow /etc/pam.d/shadow SHA256 checksum mismatch
backup file: shadow /etc/pam.d/shadow size mismatch

Offline

#4 2022-08-29 13:53:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,084

Re: [SOLVED] passwd: no such module

So what did you change in /etc/pam.d/shadow?

There's no reason you couldn't put the entire output here. Use a pastebin if you have to. https://wiki.archlinux.org/title/List_o … n_services

Last edited by Scimmia (2022-08-29 13:54:32)

Offline

#5 2022-08-29 14:00:25

eU9UFAD
Member
Registered: 2017-08-05
Posts: 5

Re: [SOLVED] passwd: no such module

Scimmia wrote:

So what did you change in /etc/pam.d/shadow?

As far as I know, I did not change /etc/pam.d/shadow, although this is an attempt to change from a Gentoo distribution to Arch.  When I originally did the pacstrap command, it complained about a lot of files existing from the Gentoo install before, so I deleted them until pacstrap stopped complaining. 

Scimmia wrote:

There's no reason you couldn't put the entire output here. Use a pastebin if you have to. https://wiki.archlinux.org/title/List_o … n_services

I have no graphical environment, so no way to pastebin from within Arch.  Although I suppose I could save the error output to a file, since the file system is the only thing that works, and then boot to Windows, mount the Arch disks, and use pastebin from Windows.

Offline

#6 2022-08-29 14:04:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,084

Re: [SOLVED] passwd: no such module

You didn't read the link I gave you.

You need to format the partition first. Who knows what you have left over.

Offline

#7 2022-08-29 14:09:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,138

Re: [SOLVED] passwd: no such module

"passwd: Module is unknown" is gonna be *some* pam module
Post your "/etc/pam.d/passwd"

Offline

#8 2022-08-29 14:40:39

eU9UFAD
Member
Registered: 2017-08-05
Posts: 5

Re: [SOLVED] passwd: no such module

Scimmia wrote:

You need to format the partition first. Who knows what you have left over.

Thanks, that worked.   I do not see an option to accept your answer as the solution.

Last edited by eU9UFAD (2022-08-29 14:41:40)

Offline

Board footer

Powered by FluxBB