You are not logged in.
I've followed the archwiki page for encrypting my home directory at https://wiki.archlinux.org/index.php/ECryptfs. Please note that I've installed arch linux in such a way that I have a seperate home partition to start with (useful for distro-hopping I guess).
So here's what I did:
modprobe ecryptfs
ecryptfs-migrate-home -u usernameeverything went successfully. Then without rebooting, I edited the file as stated in the wiki
/etc/pam.d/system-authThen I logoff and login again and run
mount and I don't see what I'm supposed to see.
Then I rebooted.
Now the problem is that when I login normally, it doesn't let me into the desktop. So then I drop into the terminal, login with my username and password. I get the following message after login:
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-mount-private'So I run that and it asks for the password again and goes fine. Then I am able to drop into the GUI and login normally. However, if I logoff inside the terminal and drop back into the GUI the login doesn't work again.
I think I've followed the arch wiki exactly and I'm not sure what to do now. Can someone pls help me how to automount without me having to type ecryptfs-mount-private everytime in the shell before I login into the GUI.
The following is my system-auth file:
auth required pam_unix.so try_first_pass nullok
auth required pam_ecryptfs.so unwrap
auth optional pam_permit.so
auth required pam_env.so
account required pam_unix.so
account optional pam_permit.so
account required pam_time.so
password optional pam_ecryptfs.so
password required pam_unix.so try_first_pass nullok sha512 shadow
password optional pam_permit.so
session required pam_limits.so
session required pam_unix.so
session optional pam_ecryptfs.so unwrap
session optional pam_permit.soedit: Solved the problem by following a solution on the ubuntu forum https://askubuntu.com/questions/602360/ … er-keyring
Last edited by sitwano (2017-07-18 12:45:51)
Offline