You are not logged in.

#1 2024-03-26 18:27:47

linuxadmin
Member
Registered: 2024-03-26
Posts: 6

[SOLVED] adding pam_ecryptfs breaks any login

Hi. I am new Arch user, moving from Gentoo.
I followed guide from wiki to setup encrypted home with ecryptfs.
I use ubuntu tools method. I did
ecryptfs-migrate-home -u user
added all lines to /etc/pam.d/system-auth (from wiki)
and now no any login works with password incorrect error.

journalctl shows
agetty[2582]: failed to open credentials directory

how to get automounting working? please help

Last edited by linuxadmin (2024-04-05 05:59:49)

Offline

#2 2024-03-27 12:44:48

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,329
Website

Re: [SOLVED] adding pam_ecryptfs breaks any login

Mod note: not an Arch Discussion, moving to System Administration.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-04-05 05:59:27

linuxadmin
Member
Registered: 2024-03-26
Posts: 6

Re: [SOLVED] adding pam_ecryptfs breaks any login

Solved. No need to add password line in system-auth. just auth and session

Offline

Board footer

Powered by FluxBB