<p/> <BODY bgcolor="#ffffff" text="#000000"> <a class='inlineblock cb lh2 dr tr p5' href='98'>[Previous]</a> <a class='inlineblock cb lh2 dr tr p5' href='100'>[Next]</a><p/><A NAME="590"><H1>Lesson 1: Configuring Account Policies</H1></A> <p/>In <a class='inlineblock cb lh2 dr tr p5' href='54'>Chapter 10</a>, &quot;Setting Up and Managing User Accounts,&quot; you learned about assigning user account passwords and how to unlock an account that was locked by the system. In this lesson, you will learn how to improve the security of your users' passwords and how to control when the system locks out a user account.<p/><blockquote> <b>After this lesson, you will be able to</b> <ul> <p/><li>Configure Account Policies</li><p/></ul> <p/><b>Estimated lesson time: 35 minutes</b><p/></blockquote><p/><A NAME="591"><H2>Configuring Password Policy</H2></A> <p/>Password Policy allows you to improve security on your computer by controlling how passwords are created and managed. You can specify the maximum length of time a password can be used before the user must change it. Changing passwords decreases the chances of an unauthorized person breaking into your computer. If a hacker has discovered a user account and password combination for your computer, forcing users to change their passwords regularly will cause the user account and password combination to fail and lock the hacker out of the system.<p/>Other settings are available in Password Policy that you can use to improve your computer's security. For example, you can specify a minimum password length. The longer the password, the more difficult it is to discover. Another example is to maintain a history of the passwords used. This prevents a user from having two passwords and alternating between them.<p/>You can configure Password Policy on a computer running Windows 2000 Professional by using Group Policy or Local Security Policy. You use Group Policy to configure Password Policy as follows:<p/><ol> <p/><li>Use MMC to create a custom console, add the Group Policy snap-in, and save it with the name Group Policy. (For more information on using MMC to create custom consoles, see <a class='inlineblock cb lh2 dr tr p5' href='17'>Chapter 3</a>, &quot;Using Microsoft Management Console and Task Scheduler.&quot;)</li><p/><li>Expand Local Computer Policy, under Computer Configuration expand Windows Settings, expand Security Settings, expand Account Policies, and then click on Password Policy.</li><p/><li>Select the setting you want to configure, and then, on the Action menu, click Security.</li><p/></ol> <p/>The console displays the current Password Policy settings in the details pane, as shown in Figure 17.1.<p/><A HREF="'F17tk01x')"> <img src="/image/library/english/10219_F17tk01.JPG" width=404 height=285 border=0 > </A> <p/><!-- caption --><b>Figure 17.1</b> <i>Current Password Policy settings using Group Policy</i><!-- /caption --> <p/>Table 17.1 explains the settings available in Password Policy.<p/><b>Table 17.1</b> <i>Password Policy Settings</i><p/><table cellpadding=5 width="95%"><tr> <th>Setting</th><th>Description</th> </tr><tr> <td valign="top">Enforce Password History</td> <td valign="top">The value you enter in this setting indicates the number of passwords to be kept in a password history. <p/>A value of 0 indicates that no password history is being kept. This is the default.<p/>You can set the value from 0 to 24, indicating the number of passwords to be kept in password history. This value indicates the number of new passwords that a user must access before he or she can reuse an old password.<p/></td> </tr><tr> <td valign="top">Maximum Password Age</td> <td valign="top">The value you enter in this setting is the number of days a user can access a password before he or she is required to change it. <p/>A value of 0 indicates that the password will not expire.<p/>The default value is 42 days. You can set the range of values from 0 to 999 days.<p/></td> </tr><tr> <td valign="top">Minimum Password Age</td> <td valign="top">The value you enter in this setting is the number of days a user must keep a password before he or she can change it. <p/>A value of 0 indicates that the password can be changed immediately. This is the default. If you are enforcing password history, you should not set this value to 0.<p/>You can set the range of values from 0 to 999 days. This value indicates how long the user must wait before chang- ing his or her password again. Use this value to prevent a user who was forced by the system to change his or her password from immediately changing it back to the old password.<p/>The minimum password age must be less than the maximum password age.<p/></td> </tr><tr> <td valign="top">Minimum Password Length</td><td valign="top">The value you enter in this setting is the minimum number of characters required in a password. The value can range from 0 up to 14 characters inclusive. <p/>A value of 0 indicates that no password is required. This is the default value.<p/></td> </tr><tr> <td valign="top">Passwords Must Meet Complexity Requirements</td><td valign="top">The options are Enabled or Disabled. The default is Disabled. <p/>If enabled, all passwords must meet or exceed the specified minimum password length; must comply with the password history settings; must contain capitals, numerals or punctuation; and cannot contain the user's account or full name.<p/></td> </tr><tr> <td valign="top">Store Password Using Reversible Encryption For All Users In The Domain</td><td valign="top">The options are Enabled or Disabled. The default is Disabled. This enables Windows 2000 to store a reversibly encrypted password for all users in the domain&#8212;for example to be used with the Challenge Handshake Authen- tication Protocol (CHAP). This option is only applicable if your computer running Windows 2000 Professional is in a domain.</td> </tr></table><p/>The Local Security Policy Setting dialog box appears for the selected policy. Figure 17.2 shows the Local Security Policy Setting dialog box for the Maximum Password Age policy.<p/>By carefully planning and configuring your Password Policy options, you can improve the security of your computer by decreasing the chances of an unauthorized user gaining access to it.<p/><A NAME="592"><H2>Configuring Account Lockout Policy</H2></A> <p/>The Account Lockout Policy settings also allow you to improve the security on your computer. If no account lockout policy is in place, an unauthorized user can repeatedly try to break into your computer. If, however, you have set an account lockout policy, the system will lock out the user account under the conditions you specify in Account Lockout Policy.<p/><img src="/image/library/english/10219_F17tk02.JPG" width=384 height=353 border="0"> <p/><!-- caption --><b>Figure 17.2</b> <i>The Local Security Policy Setting dialog box for the Maximum Password Age policy</i><!-- /caption --> <p/>You access Account Lockout Policy using either the Group Policy snap-in or the Local Security Settings window, just as you did to configure Password Policy. The Group Policy console displaying the current Account Lockout Policy settings in the details pane is shown in Figure 17.3.<p/><A HREF="'F17tk03x')"> <img src="/image/library/english/10219_F17tk03.JPG" width=404 height=285 border=0 > </A> <p/><!-- caption --><b>Figure 17.3</b> <i>Current Account Lockout Policy settings using Group Policy</i><!-- /caption --> <p/>Table 17.2 explains the settings available in Account Lockout Policy.<p/><b>Table 17.2</b> <i>Account Lockout Policy Settings</i><p/><table cellpadding=5 width="95%"><tr> <th>Setting</th><th>Description</th> </tr><tr> <td valign="top">Account Lockout Duration</td> <td valign="top">This value indicates the number of minutes that the account is locked out. A value of 0 indicates that the user account is locked out indefinitely until the Adminis- trator unlocks the user account. You can set the value from 0 to 99999 minutes. (The maximum value of 99999 minutes is approximately 69.4 days.)</td> </tr><tr> <td valign="top">Account Lockout Threshold</td> <td valign="top">The value you enter in this setting is the number of invalid logon attempts it takes before the user account is locked out from logging on to the computer. <p/>A value of 0 indicates that the account will not be locked out, no matter how many invalid logon attempts are made.<p/>You can set the range of values from 0 to 999 attempts.<p/></td> </tr><tr> <td valign="top">Reset Account Lockout Counter After</td><td valign="top">The value you enter in this setting is the number of minutes to wait before resetting the account lockout counter. <p/>You can set the range of values from 1 to 99999 minutes.<p/></td> </tr></table><p/><img src="/image/library/english/10219_practic.JPG" width=92 height=74 border="0"><p/><A NAME="593"><H2>Practice: Configuring Account Policies</H2></A> <p/>In this practice, you will configure the account policies for your computer and then test your Account Policy to make sure it is correctly configured.<p/><A NAME="594"><H3>Exercise 1: Configuring Minimum Password Length</H3></A> <p/>In this exercise, you will configure a Password Policy setting, Minimum Password Length, for your computer. Then you will test the password length you configured to confirm that it was set.<p/><li><b>To configure the Minimum Password Length setting</b></li><p/><ol> <p/><li>Log on to your computer as Administrator.</li><p/><li>Use MMC to create a custom console containing the Group Policy snap-in.</li><p/><li>In the Group Policy console, expand Local Group Policy, expand Computer Configuration, expand Windows Settings, expand Security Settings, and then expand Account Policies.</li><p/><li>Click Password Policy in the console tree.</li><p/><li>In the details pane, right-click Minimum Password Length and then click Security.</li><p/><li>Type <b>6</b> in the Characters box, and then click OK.</li><p/><li>Close the Local Computer Policy custom console, and save the custom console as Group Policy.</li><p/></ol> <p/><li><b>To test the Minimum Password Length setting</b></li><p/><ol> <p/><li>Press Ctrl+Alt+Delete, and in the Windows Security dialog box, click Change Password.</li><p/><li>In the Old Password box, type <b>password</b> and type <b>water</b> in the New Password and Confirm New Password boxes.</li><p/><li>Click OK.</li><p/>A Change Password message box appears indicating that your new password must be at least six characters long. So the Minimum Password Length setting in Password Policy is working.<p/><li>Click OK, and then click Cancel.</li><p/><li>Click Cancel to close the Windows Security dialog box.</li><p/></ol> <A NAME="595"><H3>Exercise 2: Configuring and Testing Additional Account Policies Settings</H3></A> <p/>In this exercise, you will configure and test additional Account Policies settings.<p/><li><b>To configure Account Policies settings</b></li><p/><ol> <p/><li>Use the Group Policy console to configure the following Account Policies settings:</li><p/><ul> <p/><li>A user should have at least 5 different passwords before he or she accesses a previously used password.</li><p/><li>After changing a password, a user must wait 24 hours before changing it again.</li><p/><li>A user should change his or her password every three weeks.</li><p/></ul> <p/>Which settings did you use for each of the three listed items? <p/><a class='inlineblock cb lh2 dr tr p5' href='149'>Answer</a><p/><li>Close the Group Policy console and save the settings.</li><p/></ol> <p/><li><b>To test Account Policies settings</b></li><p/><ol> <p/><li>Log on as User4 with a password of <i>User4</i>.</li><p/></ol> <p/><blockquote><b>NOTE</b><HR>If you get a Logon Message dialog box indicating that your password will expire in a specified number of days and asking whether you want to change it now, click No.</blockquote><p/><ol> <p/><li>Change your password to <i>waters</i>.</li><p/>Were you successful? Why or why not? <p/><a class='inlineblock cb lh2 dr tr p5' href='149'>Answer</a><p/><li>Change your password to <i>papers</i>.</li><p/>Were you successful? Why or why not? <p/><a class='inlineblock cb lh2 dr tr p5' href='149'>Answer</a><p/><li>Close all windows and log off.</li><p/></ol> <A NAME="596"><H3>Exercise 3: Configuring Account Lockout Policy</H3></A> <p/>In this exercise, you will configure the Account Lockout Policy settings, and then you will test them to make sure they're set up correctly.<p/><li><b>To configure the Account Lockout Policy settings</b></li><p/><ol> <p/><li>Log on to your computer as Administrator.</li><p/><li>Click Start, point to Programs, point to Administrative Tools, and then click Group Policy.</li><p/><li>In the Group Policy console tree, if necessary, double-click Local Computer Policy, then Computer Configuration, then Windows Settings, then Security Settings, and then Account Policies.</li><p/><li>Click Account Lockout Policy.</li><p/><li>Use Account Lockout Policy settings to do the following:</li><p/><ul> <p/><li>Lock out a user account after four failed logon attempts.</li><p/><li>Lock out user accounts until the administrator unlocks the user account.</li><p/></ul> <p/>Which Account Lockout Policy settings did you use for each of the two conditions? <p/><a class='inlineblock cb lh2 dr tr p5' href='149'>Answer</a><p/><li>Close the Group Policy console, save changed settings, and log off as Administrator.</li><p/></ol> <p/><li><b>To test the Account Lockout Policy settings</b></li><p/><ol> <p/><li>Try to log on as User4 with a password of <i>papers.</i> Try this four times.</li><p/><li>Try to log on as User4 with a password of <i>papers.</i></li><p/>A message box appears, indicating that the account is locked out.<p/><li>Click OK and then log on as Administrator.</li><p/></ol> <A NAME="597"><H2>Lesson Summary</H2></A> <p/>In this lesson, you learned that the Windows 2000 Local Security Settings window allows you to improve the security on your computer by making it more difficult for an unauthorized user to gain access. Using the Password Policy settings is one method you can use to improve the security on your computer. Setting Password Policy allows you to manage the passwords used on your computer. For example, Password Policy includes settings that allow you to force users to change their passwords regularly and to control the minimum length of a password.<p/>You also learned about another method of improving security on your computer: using Account Lockout Policy. If no Account Lockout Policy settings are in place, an unauthorized user can repeatedly try to break into your computer. Using Account Lockout Policy, you can determine the number of invalid logon attempts it takes before a user account is locked out of the computer. Account Lockout Policy also allows you to determine how long the account will be locked out; you can even set Account Lockout Policy to require that an administrator manually unlock the user account. In the practice portion of the lesson, you set and tested various account settings.<p/> - Microsoft Windows 1002000 Professional E2 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Microsoft Windows 1002000 Professional E2 [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






[Previous] [Next]

Lesson 1: Configuring Account Policies


In Chapter 10, "Setting Up and Managing User Accounts," you learned about
assigning user account passwords and how to unlock an account that was locked by the system. In this lesson, you will learn how to improve the security of your users' passwords and how to control when the system locks out a user account.


After this lesson, you will be able to

  • Configure Account Policies

Estimated lesson time: 35 minutes

Configuring Password Policy


Password Policy allows you to improve security on your computer by controlling how passwords are created and managed. You can specify the maximum length of time a password can be used before the user must change it. Changing passwords decreases the chances of an unauthorized person breaking into your computer. If a hacker has discovered a user account and password combination for your computer, forcing users to change their passwords regularly will cause
the user account and password combination to fail and lock the hacker out of
the system.

Other settings are available in Password Policy that you can use to improve your computer's security. For example, you can specify a minimum password length. The longer the password, the more difficult it is to discover. Another example is to maintain a history of the passwords used. This prevents a user from having two passwords and alternating between them.

You can configure Password Policy on a computer running Windows 2000 Professional by using Group Policy or Local Security Policy. You use Group Policy to configure Password Policy as follows:


  1. Use MMC to create a custom console, add the Group Policy snap-in, and save it with the name Group Policy. (For more information on using MMC to create custom consoles, see Chapter 3, "Using Microsoft Management Console and Task Scheduler.")
  2. Expand Local Computer Policy, under Computer Configuration expand Windows Settings, expand Security Settings, expand Account Policies, and then click on Password Policy.
  3. Select the setting you want to configure, and then, on the Action menu, click Security.

The console displays the current Password Policy settings in the details pane, as shown in Figure 17.1.


Figure 17.1 Current Password Policy settings using Group Policy

Table 17.1 explains the settings available in Password Policy.

Table 17.1 Password Policy Settings















SettingDescription
Enforce Password History The value you enter in this setting indicates the number of
passwords to be kept in a password history.

A value of 0 indicates that no password history is being
kept. This is the default.

You can set the value from 0 to 24, indicating the number
of passwords to be kept in password history. This value
indicates the number of new passwords that a user must
access before he or she can reuse an old password.

Maximum Password Age The value you enter in this setting is the number of days
a user can access a password before he or she is required
to change it.

A value of 0 indicates that the password will not expire.

The default value is 42 days. You can set the range of values
from 0 to 999 days.

Minimum Password Age The value you enter in this setting is the number of days a
user must keep a password before he or she can change it.

A value of 0 indicates that the password can be changed
immediately. This is the default. If you are enforcing
password history, you should not set this value to 0.

You can set the range of values from 0 to 999 days. This
value indicates how long the user must wait before chang-
ing his or her password again. Use this value to prevent
a user who was forced by the system to change his or her
password from immediately changing it back to the old
password.

The minimum password age must be less than the
maximum password age.

Minimum Password LengthThe value you enter in this setting is the minimum number
of characters required in a password. The value can range
from 0 up to 14 characters inclusive.

A value of 0 indicates that no password is required.
This is the default value.

Passwords Must Meet Complexity RequirementsThe options are Enabled or Disabled. The default is
Disabled.

If enabled, all passwords must meet or exceed the specified
minimum password length; must comply with the password
history settings; must contain capitals, numerals or punctuation; and cannot contain the user's account or full name.

Store Password Using Reversible Encryption For All Users In The DomainThe options are Enabled or Disabled. The default is Disabled. This enables Windows 2000 to store a reversibly
encrypted password for all users in the domain—for
example to be used with the Challenge Handshake Authen-
tication Protocol (CHAP). This option is only applicable
if your computer running Windows 2000 Professional is
in a domain.

The Local Security Policy Setting dialog box appears for the selected policy.
Figure 17.2 shows the Local Security Policy Setting dialog box for the Maximum Password Age policy.

By carefully planning and configuring your Password Policy options, you can improve the security of your computer by decreasing the chances of an unauthorized user gaining access to it.

Configuring Account Lockout Policy


The Account Lockout Policy settings also allow you to improve the security on your computer. If no account lockout policy is in place, an unauthorized user can repeatedly try to break into your computer. If, however, you have set an account lockout policy, the system will lock out the user account under the conditions you specify in Account Lockout Policy.


Figure 17.2 The Local Security Policy Setting dialog box for the Maximum Password Age policy

You access Account Lockout Policy using either the Group Policy snap-in or
the Local Security Settings window, just as you did to configure Password Policy. The Group Policy console displaying the current Account Lockout Policy settings in the details pane is shown in Figure 17.3.


Figure 17.3 Current Account Lockout Policy settings using Group Policy

Table 17.2 explains the settings available in Account Lockout Policy.

Table 17.2 Account Lockout Policy Settings









SettingDescription
Account Lockout Duration This value indicates the number of minutes that the
account is locked out. A value of 0 indicates that the
user account is locked out indefinitely until the Adminis-
trator unlocks the user account. You can set the value
from 0 to 99999 minutes. (The maximum value of 99999
minutes is approximately 69.4 days.)
Account Lockout Threshold The value you enter in this setting is the number of
invalid logon attempts it takes before the user account
is locked out from logging on to the computer.

A value of 0 indicates that the account will not be locked
out, no matter how many invalid logon attempts are made.

You can set the range of values from 0 to 999 attempts.

Reset Account Lockout Counter AfterThe value you enter in this setting is the number of
minutes to wait before resetting the account lockout
counter.

You can set the range of values from 1 to 99999
minutes.

Practice: Configuring Account Policies


In this practice, you will configure the account policies for your computer and then test your Account Policy to make sure it is correctly configured.

Exercise 1: Configuring Minimum Password Length


In this exercise, you will configure a Password Policy setting, Minimum Password Length, for your computer. Then you will test the password length you
configured to confirm that it was set.

  • To configure the Minimum Password Length setting

    1. Log on to your computer as Administrator.
    2. Use MMC to create a custom console containing the Group Policy snap-in.
    3. In the Group Policy console, expand Local Group Policy, expand Computer Configuration, expand Windows Settings, expand Security Settings, and then expand Account Policies.
    4. Click Password Policy in the console tree.
    5. In the details pane, right-click Minimum Password Length and then click Security.
    6. Type 6 in the Characters box, and then click OK.
    7. Close the Local Computer Policy custom console, and save the custom console as Group Policy.

  • To test the Minimum Password Length setting

    1. Press Ctrl+Alt+Delete, and in the Windows Security dialog box, click Change Password.
    2. In the Old Password box, type password and type water in the New Password and Confirm New Password boxes.
    3. Click OK.
    4. A Change Password message box appears indicating that your new password must be at least six characters long. So the Minimum Password Length setting in Password Policy is working.

    5. Click OK, and then click Cancel.
    6. Click Cancel to close the Windows Security dialog box.

    Exercise 2: Configuring and Testing Additional Account Policies Settings


    In this exercise, you will configure and test additional Account Policies settings.

  • To configure Account Policies settings

    1. Use the Group Policy console to configure the following Account Policies settings:

      • A user should have at least 5 different passwords before he or she accesses a previously used password.
      • After changing a password, a user must wait 24 hours before changing it again.
      • A user should change his or her password every three weeks.

      Which settings did you use for each of the three listed items?

      Answer

    2. Close the Group Policy console and save the settings.

  • To test Account Policies settings

    1. Log on as User4 with a password of User4.

    NOTE
    If you get a Logon Message dialog box indicating that your password will expire in a specified number of days and asking whether you want to change it now, click No.


    1. Change your password to waters.
    2. Were you successful? Why or why not?

      Answer

    3. Change your password to papers.
    4. Were you successful? Why or why not?

      Answer

    5. Close all windows and log off.

    Exercise 3: Configuring Account Lockout Policy


    In this exercise, you will configure the Account Lockout Policy settings, and then you will test them to make sure they're set up correctly.

  • To configure the Account Lockout Policy settings

    1. Log on to your computer as Administrator.
    2. Click Start, point to Programs, point to Administrative Tools, and then click Group Policy.
    3. In the Group Policy console tree, if necessary, double-click Local Computer Policy, then Computer Configuration, then Windows Settings, then Security Settings, and then Account Policies.
    4. Click Account Lockout Policy.
    5. Use Account Lockout Policy settings to do the following:

      • Lock out a user account after four failed logon attempts.
      • Lock out user accounts until the administrator unlocks the user account.

      Which Account Lockout Policy settings did you use for each of the two
      conditions?

      Answer

    6. Close the Group Policy console, save changed settings, and log off as Administrator.

  • To test the Account Lockout Policy settings

    1. Try to log on as User4 with a password of papers. Try this four times.
    2. Try to log on as User4 with a password of papers.
    3. A message box appears, indicating that the account is locked out.

    4. Click OK and then log on as Administrator.

    Lesson Summary


    In this lesson, you learned that the Windows 2000 Local Security Settings window allows you to improve the security on your computer by making it more difficult for an unauthorized user to gain access. Using the Password Policy settings is one method you can use to improve the security on your computer. Setting Password Policy allows you to manage the passwords used on your computer. For example, Password Policy includes settings that allow you to force users to change their passwords regularly and to control the minimum length of a password.

    You also learned about another method of improving security on your computer: using Account Lockout Policy. If no Account Lockout Policy settings are in place, an unauthorized user can repeatedly try to break into your computer. Using Account Lockout Policy, you can determine the number of invalid logon attempts it takes before a user account is locked out of the computer. Account Lockout Policy also allows you to determine how long the account will be locked out; you can even set Account Lockout Policy to require that an administrator manually unlock the user account. In the practice portion of the lesson, you set and tested various account settings.

    / 156