xref: /illumos-gate/usr/src/cmd/passwd/passwd.dfl (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License, Version 1.0 only
9# (the "License").  You may not use this file except in compliance
10# with the License.
11#
12# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13# or http://www.opensolaris.org/os/licensing.
14# See the License for the specific language governing permissions
15# and limitations under the License.
16#
17# When distributing Covered Code, include this CDDL HEADER in each
18# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19# If applicable, add the following below this CDDL HEADER, with the
20# fields enclosed by brackets "[]" replaced with your own identifying
21# information: Portions Copyright [yyyy] [name of copyright owner]
22#
23# CDDL HEADER END
24#
25MAXWEEKS=
26MINWEEKS=
27PASSLENGTH=6
28
29# NAMECHECK enables/disables login name checking.
30# The default is to do login name checking.
31# Specifying a value of "NO" will disable login name checking.
32#
33#NAMECHECK=NO
34
35# HISTORY sets the number of prior password changes to keep and
36# check for a user when changing passwords.  Setting the HISTORY
37# value to zero (0), or removing/commenting out the flag will
38# cause all users' prior password history to be discarded at the
39# next password change by any user.  No password history will
40# be checked if the flag is not present or has zero value.
41# The maximum value of HISTORY is 26.
42#
43# This flag is only enforced for user accounts defined in the
44# local passwd(5)/shadow(5) files.
45#
46#HISTORY=0
47#
48# Password complexity tunables.  The values listed are the defaults
49# which are compatible with previous releases of passwd.
50# See passwd(1) and pam_authtok_check(7) for use warnings and
51# discussion of the use of these options.
52#
53#MINDIFF=3
54#MINALPHA=2
55#MINNONALPHA=1
56#MINUPPER=0
57#MINLOWER=0
58#MAXREPEATS=0
59#MINSPECIAL=0
60#MINDIGIT=0
61#WHITESPACE=YES
62#
63#
64# passwd performs dictionary lookups if DICTIONLIST or DICTIONDBDIR
65# is defined. If the password database does not yet exist, it is
66# created by passwd. See passwd(1), pam_authtok_check(7) and
67# mkpwdict(8) for more information.
68#
69#DICTIONLIST=
70#DICTIONDBDIR=/var/passwd
71