joesmith-lab
ou to joesmith-lab-admins
)
- Create, delete, and manage groups
- Modify the membership of a group
Do NOT delegate the tasks:
- Create, delete, and manage user accounts
- Reset user passwords and force password change at next logon
We don't want people creating user accounts in AD.
Problem: We want to be able to make a small number of users Administrators on every Windows machine in lab.
One way to do it using Active Directory:
- Create an organizational unity (OU) for the lab (einstein-lab). Move (or create) computer accounts for each to the computers into the OU.
- Use the Active Directory Users and Computers mmc tool to create and modify OUs and groups
- See How To Join USERS for more information on associating a computer with an account in AD.
- In OU einstein-lab create a group for the admins, say einstein-lab-admins
- edit einstein-lab-admins using the Active Directory Users and Computers tool
- Create a group policy object (GPO) to associate with einstein-lab (say, einstein-lab-policy)
- None of us in the sciences have permission to do this - ask someone in Netsys
- Link the einstein-lab-policy GPO to the einstein-lab OU.
- Edit einstein-lab-policy using the Group Policy Management Editor.
- Find:
Computer Configuration > Policies > Windows Settings > Security Settings > Restricted Groups
- Right-click
Restricted Groups
and chooseAdd Group...
- In the dialog ensuing, enter the name of the group you want (einstein-lab-admins) – it should exist already
- In the next dialog, next to the section labeled
This group is a member of:
, click Add... - in the next dialog, type
Administrators
- Find:
- review your work, it should appear as follows:
Having followed this recipe, make sure that the GPO is refreshed on each computer that is a member of einstein-lab.
You should be able to confirm, using Computer Management > System Tools > Local Users and Groups > Groups
, that einstein-lab-admins is now a member of the local group Administrators.
Group Policy Management
Group Policy Management Console (GPMC) snap-in
- there is a copy in \\BIO\PUBLIC or download from microsoft
- it requires .NET framework 1.1
Windows Vista
- the GPMC snapin comes with the OS
- you may need to launch MMC using "Run As Administrator" to use it.
- Open
Command Prompt
using "Run As Administrator" - type
mmc -a
- add whatever snapins are useful
- I use
Computer Management
,Active Directory Users and Computers
,Group Policy Management Console
,Group Policy Object Editor
, andResultant Set of Policy
.
- I use
Save As
my_custom_console.msc
- Open
- you can just launch my_custom_console.msc
How to bind a Mac to USERS
Adding a MacOS computer to the brandeis.edu Active Directory domain
Create an account in Active Directory with the name of the computer. The Mac is not actually going to be able to pull group policies from AD, but you really need to make sure there aren't mulitple computers with the same name. This should match the computer name listed in the Sharing tab in System Preferences. You should do this from a Windows computer using the Active Directory Users & Computers mmc tool
- for the Control Panel. Make sure to give whoever is going to do step 2 the power to join the account.
- Once that is done, on the Mac, go to the Users & Groups tab in System Preferences. Next to Network Account Server:, click Join.
- at the next prompt, click Open Directory Utility...
- in the Directory Uitlity dialog, click the lock and authenticate with an account that is an administrator on the Mac. Choose Active Directory and double click,
- For Active Directory Domain, enter brandeis.edu. Click Bind...
- authenticate with your UNet username and password. If this works, you should see an "Unbind..." button as you are now bound. Click OK.
- You can click the little triangle at left to show other settings. The only one I might set is under Administrative I might define a group that is allow to administer the computer
- Now, when you go back to the Users & Groups tab in System Preferences, you should see a new option Allow network users to log in at login window. Check that box.
- Next to it, under Options... you might want to specify groups that are allowed to log in.
If a role account needs to be created Active Directory, follow the steps outlined below.
In Active Directory, the user account needs to be created in the "Role Accounts" OU as follows:
Open Active Directory
- Expand the root directory "Brandeis.edu".
- Expand "Prime".
- Right click on "Role Accounts".
- Click on New
- Click on User