X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fpam.d%2Fchsh;h=2458371d01061002f94647cf223b5b87e3426da9;hb=be9653e724e667b5fc9cf18678b2fe99e9b2b085;hp=7eb604d722d38a00bc6b487f5049a3d00dd73a1c;hpb=402c0201e31b02d3e3e8ceb11cd8953eda5ddb15;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/pam.d/chsh b/etc/pam.d/chsh index 7eb604d..2458371 100644 --- a/etc/pam.d/chsh +++ b/etc/pam.d/chsh @@ -2,19 +2,5 @@ # The PAM configuration file for the Shadow `chsh' service # -# This will not allow a user to change their shell unless -# their current one is listed in /etc/shells. This keeps -# accounts with special shells from changing them. -auth required pam_shells.so - -# This allows root to change user shell 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 shells at all. +auth required pam_rootok.so