IBM Support

Changing Your Operating System Password without Using 5250 Emulation

Troubleshooting


Problem

This document describes several methods to change an IBM i user password.

Resolving The Problem

Problem:
How can PC users change their password on an IBM i without using a 5250 emulation session?

Resolution:
IBM i Access Client Solutions offers several methods to change passwords, including:
  • In the main Access Client Solutions window, select 'Preferences' from the edit menu.  Click the 'Passwords' tab.  You can change the password on multiple systems at one time by using this tool.
  • Use the Access Client Solutions RMTCMD plug-in to run the CL command CHGUSRPRF.  For example,
    Java -jar acsbundle.jar /plugin=rmtcmd /system=MyIBMi /cmd="chgusrprf usrprf(dummy) password(newpwd)"
    Note: Use caution with the CHGUSRPRF command to change a password. Changing the password in this way can set the password without checking that it meets the password criteria set by the QPWD* system values.
  • Use Access Client Solutions Windows Application Package security APIs and Microsoft ActiveX automation objects. Windows programmers and script writers can use the security APIs to change passwords. For more information about the APIS and samples, see Access Client Solutions Programmer's Toolkit.
Navigator for i option:
  • Open the Users and Groups icon > Users > right-click the user > Properties > Password > Use entry from below.
If Access Client Solutions and Navigator are not available, other options are:
  • Use a generic Telnet program. For example, Microsoft Windows includes a basic Telnet applet that can be invoked from a command prompt by typing TELNET sysname. Not all function keys work, but basic operations are available. After you sign on, select Option 1, User tasks, from the main menu. Then, select Option 8 - "Change your password", from the "User Tasks" menu.
  • The iSeries Access for Web includes an IBM OS/400 or IBM i5/OS command function that can be used to issue a CHGPWD command. It also includes a browser-based 5250 emulation session.
  • IBM Toolbox for Java includes an IBM i Java class that can be used in Java programs to change passwords. The Java help for the class is available in the IBM i Information Center under Programming, Java, IBM Toolbox for Java, Javadoc you can find the AS400 class in the com.ibm.as400.access package.  The changePassword method can change a user password.
  • FTP allows remote commands to be run by using the rcmd FTP subcommand. To use this method, make an FTP connection and issue the FTP subcommand. Following is an example.
    quote rcmd chgusrprf usrprf(dummy) password(newpwd)

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z000000cvUdAAI","label":"Profiles"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

26642806

Document Information

Modified date:
20 November 2024

UID

nas8N1017013