You are not logged in.
Pages: 1
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
passwd: no such module
Is that a google translate or the literal output?
pacman -Qikk shadow
Offline
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
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
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.
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
You didn't read the link I gave you.
You need to format the partition first. Who knows what you have left over.
Offline
"passwd: Module is unknown" is gonna be *some* pam module
Post your "/etc/pam.d/passwd"
Offline
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
Pages: 1