Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
October 6, 2003
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 -pwd
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
You May Also Like