chsh 625 B

12345678910111213141516171819
  1. #
  2. # The PAM configuration file for the Shadow `chsh' service
  3. #
  4. # This will not allow a user to change their shell unless
  5. # their current one is listed in /etc/shells. This keeps
  6. # accounts with special shells from changing them.
  7. auth required pam_shells.so
  8. # This allows root to change user shell without being
  9. # prompted for a password
  10. auth sufficient pam_rootok.so
  11. # The standard Unix authentication modules, used with
  12. # NIS (man nsswitch) as well as normal /etc/passwd and
  13. # /etc/shadow entries.
  14. auth include common-auth
  15. account include common-account
  16. session include common-session