User and Group Management
Introduction
Add
Users to a Group
The group is is one area where win.mit.edu,
or WIN, diverges from a typical Windows
Domain. WIN users and groups are defined
and maintained in the MIT system of record,
Moira.
There are a variety of tools available
to add an existing user to an existing
group. These include the Moira list
management web interface, moira
commands like blanche,
and the WIN machine Moira MMC
snap-in.
On a WIN machine you may run moira
or blanche from the command
line or the run menu. You may also start
the Moira MMC snap-in from
the menu item "Start-> Programs-> Administrative
Tools-> Moira Account Management."
Moira MMC Procedure
To add a user to a group using the Moira
MMC:
- Select List Management
from the left panel and right click on
the selection.
- Select Find Lists.
- Click on Name, enter
the list name and hit Search.
- Select the list name and hit Display.
- Right click on the list name and select
Properties.
- Click on the Members
tab.
- If you have the permission, the Add
button will be sensitized, so click on
it.
- Choose the type of object you wish
to add and enter its name.
- Click OK.
[Back
to top]
Create a Security
Group of Users
In WIN each group of users and each group
of machines also is defined in Moira. To
create a security group of users, in this
case to assign its members rights to a
particular group of machines:
- Ask to create
a group (Web Moira, certificates
required) that contains the userids of
users to be allowed access to the machines.
- Request
a container, an organisational unit
which contains the machines to be controlled.
(This can be a sub-OU of an OU which
already has other policies applied, e.g.
an existing OU of machines installing
Office XP.)
- Create or request a new group policy
on the newly-created OU. Edit the policy
as follows:
- Expand Computer configuration...Windows
Settings > Security Settings >
Local Policies > User Rights Assignment
- Double-click Access This
Computer From the Network
and click on Add
- add the newly created user group
- Double-click Logon Locally
and click on Add
- add the user group created at Step
1.
By defining these two options, you automatically
deny access to other users. You do not
need to define deny options - doing so
may have unintended results!
[Back
to top]
Create
a Policy to Add a Security Group to the
Local Adminstrators Group
Requirements: Container Administrator
rights, i.e., rights over an organisational
unit
Create a security group which contains
the user ids of the users who will be allowed
local administrator access to the computers
in the organisational unit.
Note: The name of the
group cannot contain any spaces.
Create a .bat file containing the following
simple script:
net localgroup administrators LocalAdministratorGroupName
/add
Where LocalAdministratorGroupName
is the name of the group of local administrators
previously created in the Active Directory.
Add the script to a group policy:
- Select the OU to which you want the
policy to be applied.
- Right-click Properties...
, click on the Group Policy
tab, select New...
- Give the group policy a name (prefixed
with the name of your departmental OU).
- Click Edit.
- Expand Computer Configuration
> Windows Settings > Scripts...
- Double-click Startup...
, select Add.
- Type the script name and location
in the Script Parameters box,
e.g., \\campus\software\dept\myDept\localAdmin.bat.
For an existing group policy you will
need to edit that policy using steps 4-7
above.
Note: You can edit only
policies that you have created yourself,
or for which you have been expressly granted
editing permissions by the original policy
creator.
[Back
to top]
Add a Domain Account
to the Administrators Group
Addadmin.exe is located
on the path of each WIN machine. Type addadmin
at a command-line prompt for usage information.
This program can add (or remove) a domain
account to (or from) the local Administrators
group on the machine. The container admin
may want to use this as a machine startup
script to ensure that a container admin
group always has local admin rights on
each machine in the container.
For example, if one is container admin
for the "foo" container, which has an administrator
group of, say, "container-admin-foo," then
in Group Policy one can add a startup script
(Computer Configuration > Windows
Settings > Scripts > Startup,
choose Add...) with addadmin.exe
as the script name and /domain WIN.MIT.EDU /group container-admin-foo
as the script parameters. (The "/group"
indicates the account is a group, so if
there happens to be a user with the same
name, it would use the group and not the
user. Read the usage information for more
details.)
Note: There is, as yet,
no command to automatically figure out
what is the container administrator group
for a container. That infomation is stored
in Moira, and so far machine accounts have
no access there. So, although any Athena
user can find this by typing mitch
Machines/foo at a command prompt,
the computer canot. For now, find this
out yourself and manually pass it to addadmin.exe,
until machine accounts have access to Moira
or until we propagate this container admin
information into AD.
To manually add a user to the Administrators
group, see the RIS
FAQ instructions.
[Back
to top]
User
Profiles
Please see the document Managing Your User
Profile for more information.
[Back
to top]
|