X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fpam.d%2Fchfn;h=58e1d48b2ecd64ed5b88e1fc5e2269da13be42ac;hb=refs%2Fheads%2Fldap;hp=10fcf07b12cc75d9f23dad40a434f9149ee76ec1;hpb=402c0201e31b02d3e3e8ceb11cd8953eda5ddb15;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/pam.d/chfn b/etc/pam.d/chfn index 10fcf07..58e1d48 100644 --- a/etc/pam.d/chfn +++ b/etc/pam.d/chfn @@ -2,15 +2,6 @@ # The PAM configuration file for the Shadow `chfn' service # -# This allows root to change user infomation without being -# prompted for a password -auth sufficient pam_rootok.so - -# The standard Unix authentication modules, used with -# NIS (man nsswitch) as well as normal /etc/passwd and -# /etc/shadow entries. -@include common-auth -@include common-account -@include common-session - - +# This allows only root to change user infomation at all. +auth required pam_rootok.so +account required pam_permit.so