View previous topic :: View next topic |
Author |
Message |
lroy1978 Apprentice
Joined: 28 Jan 2006 Posts: 189 Location: Lille, France
|
Posted: Mon Jul 20, 2009 7:51 pm Post subject: ecryptfs and pam |
|
|
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 |
|
|
lroy1978 Apprentice
Joined: 28 Jan 2006 Posts: 189 Location: Lille, France
|
Posted: Tue Jul 21, 2009 6:59 pm Post subject: |
|
|
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 |
|
|
|