...
Turning on password handling is as simple as changing the value in PUIPWDMGT to a value other than '0'. For example, if you wanted to enable only expired password handling, you would use the CHGDTAARA command from the IBM i command line like this:
Code Block |
---|
CHGDTAARA DTAARA(PROFOUNDUI/PUIPWDMGT) VALUE('1')
|
...
If the user's password has already expired, the following window is displayed:
You can customize this page by editing html fileThe html file that this 'Change Password' window is located here:
Code Block |
---|
/www/profoundui/htdocs/profoundui/userdata/html/change_password.html
|
Make sure you keep a backup copy in case this page is replaced by a product updateBecause this html file will be overwritten after a Profound UI upgrade, we do not suggest modifying this file directly if you want to make changes to this screen. Instead, you should copy this file, rename the copy (you can rename this to whatever you'd like) and then change your instance's httpd.conf file to point to the new copy of the file. This will ensure that your 'Change Password' screen does not get overwritten by the upgrade process. You can find the httpd.conf file here: /www/instanceName/conf/httpd.conf. In your configuration file, you should see a line that looks like this:
Code Block |
---|
Alias /profoundui/changepass /www/profoundui/htdocs/profoundui/userdata/html/change_password.html |
You'll want to change this line to point to your new 'Change Password' html file instead of the default change_password.html file. This will use your modified version of the file and you won't need to worry about the file being overwritten. Of course, after any change made to the httpd.conf, you'll need to restart your Profound UI instance to see the change. It's also important that you do not check the 'HTTP Configuration' option when you are upgrading your instance, as this will overwrite your httpd.conf changes.
Allowing password change at any time
If you want users to be able to change their password at any time, make sure the PUIPWDMGT data area is set to '2', then create an Atrium menu item as shown: