Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ecryptfs and pam
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lroy1978
Apprentice
Apprentice


Joined: 28 Jan 2006
Posts: 189
Location: Lille, France

PostPosted: Mon Jul 20, 2009 7:51 pm    Post subject: ecryptfs and pam Reply with quote

Hi

I managed to get ecryptfs working, but now when I try changing a user password I get the following error :

passwd: Authentication information cannot be recovered

Here is my /etc/pam.d/system-auth file

Code:

auth            required        pam_env.so
auth            required        pam_unix.so try_first_pass likeauth nullok
auth            required        pam_ecryptfs.so unwrap
password        required        pam_ecryptfs.so
account         required        pam_unix.so

#password       required        pam_cracklib.so difok=2 minlen=8 dcredit=2 ocre$
#password       required        pam_unix.so try_first_pass use_authtok nullok s$

session         required        pam_limits.so
session         required        pam_env.so
session         required        pam_unix.so
session         optional        pam_permit.so


Can anyone help?

Thanks,
Lee[/code]
Back to top
View user's profile Send private message
lroy1978
Apprentice
Apprentice


Joined: 28 Jan 2006
Posts: 189
Location: Lille, France

PostPosted: Tue Jul 21, 2009 6:59 pm    Post subject: Reply with quote

I managed to fix it myself. I changed my system-auth file to

Code:

auth            required        pam_env.so
auth            required        pam_unix.so try_first_pass likeauth nullok
auth            required        pam_ecryptfs.so unwrap
#password       required        pam_ecryptfs.so
account         required        pam_unix.so

password        required        pam_cracklib.so difok=2 minlen=8 dcredit=2 ocre$
password        required        pam_unix.so try_first_pass use_authtok nullok s$

session         required        pam_limits.so
session         required        pam_env.so
session         required        pam_unix.so
session         optional        pam_permit.so


The problem appears to have disappeared.

Lee
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum