dxchpwd - Create or change password program
dxchpwd -r | -l
dxchpwd [-r | -l] -q
dxchpwd [-r | -l] -u username
If dxchpwd is invoked without any options, it is assumed
that the current user's password is to be changed. The
following options are also accepted: Tells dxchpwd that
the password change is to be done for a Local user. This
can be combined with the -u and -q options. Tells dxchpwd
that the password change is to be done for a NIS user.
This can only be done from a NIS master and can be combined
with the -u and -q options. Tells dxchpwd to query
the user for the user name of the account whose password
is to be changed. Tells dxchpwd to change this user's
The dxchpwd command lets you change your password. When
you invoke the dxchpwd command, the program prompts you
for the old password and then for the new password. Next,
the program asks you for the new password again, to verify
that you have typed it correctly. Note that the passwords
are not displayed on the screen.
Your new password must meet the length requirements specified
by the authorization database for the user whose
password is being changed.
If your system is running with enhanced security, you may
have to choose a password from a list of randomly generated
passwords or you may be prohibited from changing your
password until its minimum lifetime has expired, as specified
in the authorization database.
The following example requests that the password be
changed for user smith: dxchpwd -u smith
Password file Protected Password Database dxchpwd executable
X(1X), xdm(1X), passwd(1)
[ Back ]