220 likes | 360 Views
Microsoft Server 2008 R2. Account Management. OVERVIEW. Understand the differences between local user and domain user accounts. Plan, create, and manage local and domain user accounts. Create and manage user accounts by using Active Directory and creating templates
E N D
Microsoft Server 2008 R2 Account Management
OVERVIEW • Understand the differences between local user and domain user accounts. • Plan, create, and manage local and domain user accounts. • Create and manage user accounts by using Active Directory and creating templates • Domain based security groups
UNDERSTANDING USER ACCOUNTS • Local User Accounts • Stored in the Security Accounts Manager (SAM) database on that system • Can be used only on that system • Domain User Accounts • Stored on domain controllers and stored in the Active Directory Database (NTDS.DIT) • Can be used on any system in the Active Directory Domain
PLANNING USER ACCOUNTS • Account naming conventions • Be consistent • Securing accounts and choosing passwords • “moving target” in industry today • You can help defend your domain from attackers by requiring strong passwords and implementing an account lockout policy. • Strong passwords reduce the risk of intelligent password guessing and dictionary attacks on passwords. • An account lockout policy decreases the possibility of an attacker compromising your domain through repeated logon attempts. • An account lockout policy determines how many failed logon attempts a user account can have before it is disabled. • 15+ character “passphrase” is popular • Januaryisreallycold (19 characters) • Populate common attributes consistently
Domain User Accounts Account Naming Guidelines A user account name: • Cannot be identical to any other user account name or group name on the computer being administered • Can contain up to 20 characters • Can contain uppercase or lowercase characters • Cannot contain any of the following characters: • " / \ [ ] : ; | = , + * ? < > @ • Cannot consist solely of periods (.) or spaces • Are NOTcase sensitive
Domain User Accounts Account Naming Guidelines • Account names should be consistent • Not only users, but for all domain objects • Organizations will typically have an account naming policy • [First name].[last name]: • Luka.Abrus • [First initial][last name]: • Labrus@corp.contoso.com • [employeeID][first initial][lastinitial]: • 0123LA@corp.contoso.com
Domain User Accounts Creating Domain User Accounts • Command line • Net user… • Dsadd user… • PowerShell • Server Manager • Active Directory Administrative Center • Active Directory Users and Computers • Script and import
Domain User Accounts • Command line • GUI
Creating Domain Users • What happens when the user is created? • User is stored in the database • User is automatically assigned a security identifier (SID) • Ie. S-1-5-21-D1-D2-D3-RID • S-1-5=Standard prefix (5 means it was created by NT • RID is unique to each account
MANAGING DOMAIN USER ACCOUNTS • From the Action menu, you can: • Reset a user account password • Different from Changing a password. • Control-Alt-DeleteChange a Password • Rename, disable, and delete an account. • Modify group membership. • Send e-mail and open a user’s homepage.
USING OBJECT TEMPLATES • Can be an existing user account or an account created specifically for copying. • Not all properties are copied. • Object templates should be disabled to prevent use of the account. • In it’s simplest definition, templates are user accounts that you copy.
Domain Groups • Local groups govern only the local system • Domain groups can govern any domain based system • Domain joined workstation • Domain joined server • Domain Controller • Both local systems and domains have built-in groups • Domain GroupDomain Admins • Local GroupAdministrators
Domain Groups • Domain groups can be nested in other groups • Domain groups can be: • Domain Local—used only in domain it was created in • Global—can be used in any domain within a forest • Universal—is replicated to all other domains within a forest
Domain Groups • Domain—same options apply as creating users
SUMMARY • Local user accounts are stored on the local system and can provide users with access only to local resources. • Domain user accounts are stored on Active Directory domain controllers and can provide users with access to resources all over the network. • User objects include the properties related to the individuals they represent. • A user object template is an object that is copied to produce new users. If the template is not a “real” user, it should be disabled. • Only a subset of user properties is copied from templates.