Академический Документы
Профессиональный Документы
Культура Документы
Perhaps one of the most useful DSAdd features is the ability to add a member to a
groups as you create the group. Assuming you have already created a user called
Elizabeth you would append this to Example 2.
If there is a snag, you need to remember to add the members when you create the
group otherwise dsadd will not work. However, you could try dsmod to modify or add
members to an existing group.
dsadd group "cn=L Oki, ou=guyds, dc=cp, dc=com" -secgrp yes -scope L -members
"cn=elizabeth, ou=guyds, dc=cp, dc=com"
Modify Password
Logon to your domain controller. Check which users you have, if necessary create
an ou called guyds and user called guyt. See DSadd
Examine the script below. Decide how cn= or ou= or dc= need editing.
Run, CMD then copy your script and paste into the command window. Alternatively
type it starting with dsmod user .........
Note 1: We could have created the password at the same time we created the user.
For ease of learning I introduce one variable at a time. However, here is the
complete command to add a user with a password.