home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110502.etc.tar.gz / bradford.20110502.etc.tar / etc / login.defs < prev    next >
Text File  |  2006-05-02  |  5KB  |  186 lines

  1. #
  2. # /etc/login.defs - Configuration control definitions for pwdutils package.
  3. #
  4. # Comment lines (lines beginning with "#") and blank lines are ignored.
  5. # Please read the manual page for more information (login.defs.5).
  6. #
  7.  
  8. #
  9. # Should login be allowed if we can't cd to the home directory?
  10. # Default is yes.
  11. #
  12. DEFAULT_HOME        yes
  13.  
  14. #
  15. # The default PATH settings (used by login):
  16. #
  17. ENV_PATH                /usr/local/bin:/usr/bin:/bin
  18.  
  19. #
  20. # The default PATH settings for root (used by login):
  21. #
  22. ENV_ROOTPATH            /sbin:/bin:/usr/sbin:/usr/bin
  23.  
  24. #
  25. # Delay in seconds before being allowed another attempt
  26. # after a login failure
  27. #
  28. FAIL_DELAY        3
  29.  
  30. #
  31. # If defined and the file exist, login failures will be
  32. # logged here in a utmp format.
  33. # last, when invoked as lastb, will read /var/log/btmp, so...
  34. #
  35. #FTMP_FILE    /var/log/btmp
  36.  
  37. #
  38. # If defined, file which inhibits all the usual chatter
  39. # during the login sequence. If a full pathname, then hushed
  40. # mode will be enabled if the user's name or shell are found
  41. # in the file.  If not a full pathname, then hushed mode will
  42. # be enabled if the file exists in the user's home directory.
  43. #
  44. #HUSHLOGIN_FILE    .hushlogin
  45. HUSHLOGIN_FILE    /etc/hushlogins
  46.  
  47. #
  48. # Enable logging and display of /var/log/lastlog login time info.
  49. #
  50. LASTLOG_ENAB        yes
  51.  
  52. #
  53. # Enable display of unknown usernames when login failures
  54. # are recorded.
  55. #
  56. LOG_UNKFAIL_ENAB    no
  57.  
  58. #
  59. # Max number of login retries if password is bad
  60. #
  61. LOGIN_RETRIES        3
  62.  
  63. #
  64. # Max time in seconds for login
  65. #
  66. LOGIN_TIMEOUT        60
  67.  
  68. #
  69. # If defined, ":" delimited list of "message of the day" files to
  70. # be displayed upon login.
  71. #
  72. MOTD_FILE    /etc/motd
  73. #MOTD_FILE    /etc/motd:/usr/lib/news/news-motd
  74.  
  75. #
  76. # If defined, file which maps tty line to TERM environment parameter.
  77. # Each line of the file is in a format something like "vt100  tty01".
  78. #
  79. TTYTYPE_FILE    /etc/ttytype
  80.  
  81. #
  82. # Terminal permissions
  83. #
  84. #    TTYGROUP    Login tty will be assigned this group ownership.
  85. #    TTYPERM        Login tty will be set to this permission.
  86. #
  87. # If you have a "write" program which is "setgid" to a special group
  88. # which owns the terminals, define TTYGROUP to the group number and
  89. # TTYPERM to 0620.  Otherwise leave TTYGROUP commented out and assign
  90. # TTYPERM to either 622 or 600.
  91. #
  92. TTYGROUP    tty
  93. TTYPERM        0620
  94.  
  95. #
  96. # Require password before chfn/chsh can make any changes.
  97. #
  98. CHFN_AUTH        yes
  99.  
  100. #
  101. # Which fields may be changed by regular users using chfn - use
  102. # any combination of letters "frwh" (full name, room number, work
  103. # phone, home phone).  If not defined, no changes are allowed.
  104. # For backward compatibility, "yes" = "rwh" and "no" = "frwh".
  105. #
  106. CHFN_RESTRICT        rwh
  107.  
  108. #
  109. # Password aging controls (used by useradd):
  110. #
  111. #    PASS_MAX_DAYS    Maximum number of days a password may be used.
  112. #    PASS_MIN_DAYS    Minimum number of days allowed between password changes.
  113. #    PASS_WARN_AGE    Number of days warning given before a password expires.
  114. #
  115. PASS_MAX_DAYS    99999
  116. PASS_MIN_DAYS    0
  117. PASS_WARN_AGE    7
  118.  
  119. #
  120. # Min/max values for automatic uid selection in useradd
  121. #
  122. # SYSTEM_UID_MIN to SYSTEM_UID_MAX inclusive is the range for
  123. # UIDs for dynamically allocated administrative and system accounts.
  124. # UID_MIN to UID_MAX inclusive is the range of UIDs of dynamically
  125. # allocated user accounts.
  126. #
  127. SYSTEM_UID_MIN          100
  128. SYSTEM_UID_MAX          499
  129. UID_MIN             1000
  130. UID_MAX            60000
  131.  
  132. #
  133. # Min/max values for automatic gid selection in groupadd
  134. #
  135. # SYSTEM_GID_MIN to SYSTEM_GID_MAX inclusive is the range for
  136. # GIDs for dynamically allocated administrative and system groups.
  137. # GID_MIN to GID_MAX inclusive is the range of GIDs of dynamically
  138. # allocated groups.
  139. #
  140. SYSTEM_GID_MIN          100
  141. SYSTEM_GID_MAX          499
  142. GID_MIN             1000
  143. GID_MAX            60000
  144.  
  145. #
  146. # User/group names must match the following regex expression.
  147. # The default is [A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\?,
  148. # but be aware that the result could be depend on the locale settings.
  149. #
  150. #CHARACTER_CLASS        [A-Za-z_][A-Za-z0-9_.-]*[A-Za-z0-9_.$-]\?
  151. CHARACTER_CLASS        [ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_][ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-]*[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567899_.$-]\?
  152.  
  153. #
  154. # Umask which is used by useradd and newusers for creating
  155. # new home directories.
  156. #
  157. UMASK            022
  158.  
  159. #
  160. # If defined, this command is run when adding a group.
  161. # It should rebuild any NIS database etc. to add the
  162. # new created group.
  163. #
  164. #GROUPADD_CMD             /usr/sbin/groupadd.local
  165.  
  166. #
  167. # If defined, this command is run when adding a user.
  168. # It should rebuild any NIS database etc. to add the
  169. # new created account.
  170. #
  171. USERADD_CMD        /usr/sbin/useradd.local
  172.  
  173. #
  174. # If defined, this command is run before removing a user.
  175. # It should remove any at/cron/print jobs etc. owned by
  176. # the user to be removed.
  177. #
  178. USERDEL_PRECMD        /usr/sbin/userdel-pre.local
  179.  
  180. #
  181. # If defined, this command is run after removing a user.
  182. # It should rebuild any NIS database etc. to remove the
  183. # account from it.
  184. #
  185. USERDEL_POSTCMD        /usr/sbin/userdel-post.local
  186.