A. You can use the Dsmod command to modify directory service objects' attributes from the command line. More specific to your question, you can use "Dsmod user" to change the attributes of a user object. To modify a user's password, use the following syntax:

dsmod user <user's distinguished name (DN)> -pwd <user's new password>

For example, to change the password for user John in domain it.uk.savilltech.com, I typed

dsmod user CN=John,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com –pwd                                 Pa55word

The system returned

dsmon succeeded:CN=John,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com