The passwd utility changes the password belonging to user-name. Normally, passwd prompts you for the new password and then asks you to confirm it by entering it again.
When you do not specify user-name, passwd assumes that you are attempting to change your own password and first prompts you for your current password before requesting the new one. You are also prompted for your current password if user-name is the name under which you are currently logged in.
When you do specify a user-name other than your current login
name, passwd requires that you have administrator
privileges for the appropriate system
(that is, hostname if you specify
locates the primary domain controller for the specified domain-name and changes the specified user's password on that system. Omitting user-name or specifying your current user name lets you change your password on the primary domain controller. This works only when your user name on that system is the same as your current user name on the local system.
specifies the new password. When this option is specified, you are not prompted to enter the new password.
specifies the remote system on which to change the specified user's password. Omitting user-name or specifying your current user name lets you change your password on a remote system. This works only when your user name on that system is the same as your current user name on the local system.
Possible exit status values are:
All UNIX systems. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.