home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / pam.d / login < prev    next >
Encoding:
Text File  |  2006-12-19  |  2.8 KB  |  78 lines

  1. #
  2. # The PAM configuration file for the Shadow `login' service
  3. #
  4.  
  5. # Outputs an issue file prior to each login prompt (Replaces the
  6. # ISSUE_FILE option from login.defs). Uncomment for use
  7. # auth       required   pam_issue.so issue=/etc/issue
  8.  
  9. # Disallows root logins except on tty's listed in /etc/securetty
  10. # (Replaces the `CONSOLE' setting from login.defs)
  11. auth       requisite  pam_securetty.so
  12.  
  13. # Disallows other than root logins when /etc/nologin exists
  14. # (Replaces the `NOLOGINS_FILE' option from login.defs)
  15. auth       requisite  pam_nologin.so
  16.  
  17. # This module parses environment configuration file(s)
  18. # and also allows you to use an extended config
  19. # file /etc/security/pam_env.conf.
  20. # parsing /etc/environment needs "readenv=1"
  21. session       required   pam_env.so readenv=1
  22. # locale variables are also kept into /etc/default/locale in etch
  23. # reading this file *in addition to /etc/environment* does not hurt
  24. session       required   pam_env.so readenv=1 envfile=/etc/default/locale
  25.  
  26. # Standard Un*x authentication.
  27. @include common-auth
  28.  
  29. # This allows certain extra groups to be granted to a user
  30. # based on things like time of day, tty, service, and user.
  31. # Please edit /etc/security/group.conf to fit your needs
  32. # (Replaces the `CONSOLE_GROUPS' option in login.defs)
  33. auth       optional   pam_group.so
  34.  
  35. # Uncomment and edit /etc/security/time.conf if you need to set
  36. # time restrainst on logins.
  37. # (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
  38. # as well as /etc/porttime)
  39. # account    requisite  pam_time.so
  40.  
  41. # Uncomment and edit /etc/security/access.conf if you need to
  42. # set access limits.
  43. # (Replaces /etc/login.access file)
  44. # account  required       pam_access.so
  45.  
  46. # Sets up user limits according to /etc/security/limits.conf
  47. # (Replaces the use of /etc/limits in old login)
  48. session    required   pam_limits.so
  49.  
  50. # Prints the last login info upon succesful login
  51. # (Replaces the `LASTLOG_ENAB' option from login.defs)
  52. session    optional   pam_lastlog.so
  53.  
  54. # Prints the motd upon succesful login
  55. # (Replaces the `MOTD_FILE' option in login.defs)
  56. session    optional   pam_motd.so
  57.  
  58. # Prints the status of the user's mailbox upon succesful login
  59. # (Replaces the `MAIL_CHECK_ENAB' option from login.defs). 
  60. #
  61. # This also defines the MAIL environment variable
  62. # However, userdel also needs MAIL_DIR and MAIL_FILE variables
  63. # in /etc/login.defs to make sure that removing a user 
  64. # also removes the user's mail spool file.
  65. # See comments in /etc/login.defs
  66. session    optional   pam_mail.so standard
  67.  
  68. # SELinux needs to intervene at login time to ensure that the process
  69. # starts in the proper default security context.
  70. # Uncomment the following line to enable SELinux
  71. # session required pam_selinux.so multiple
  72.  
  73. # Standard Un*x account and session
  74. @include common-account
  75. @include common-session
  76. @include common-password
  77.