Sets a user password in the designated directory service.
Specify the directory service to use, which may be file, netinfo (the default), nis, or opendirectory.
Depending on the directory service being used, it's either a filename (defaults to /etc/master.passwd), a NetInfo domain name or server/tag combo, a NIS domain name, or an Open Directory node name.
Designate whose password will be set. It defaults to that of the user running the command.