Add account attributes to Change password pages
You can add specified account attributes to the Change passwords (PSS) module pages by customizing pss.m4. For example, when users click the Change passwords link, you can add accounts’ enabled/disabled status where users select target system groups, as illustrated below:

You can also add attributes such as first name and last name on account selection page, as illustrated below:

To add account attributes to Change passwords (PSS) module pages:
Create a file named
pss.m4in the \<instance>\design\custom\ directory.Add the following tags as required:
!!!S_SELECT_TGROUP_ACCTATTR !!!S_CHANGE_ACCTATTR !!!S_ACCTATTR_SEP
where:
S_SELECT_TGROUP_ACCTATTR defines account attributes to place on the target system group selection page.
S_CHANGE_ACCTATTR defines account attributes to place on the account selection page.
S_ACCTATTR_SEP defines the separator for multi-value attributes.
Copy the appropriate tags from the
pss.m4file in the \<instance>\design\ directory.Edit the table layout to accommodate the account attributes, as illustrated in the sample custom pss.m4 file below.
Save and close the file.
Sample custom pss.m4 file
!!!S_SELECT_TGROUP_ACCTATTR
@accountEnabled
!!!S_CHANGE_ACCTATTR
givenName
sn
!!!S_ACCTATTR_SEP
,
!!!S_SELECT_TGROUP_ROW
<!--@tablerow()-->
<!--@cell()-->
<!--@prompt( class="bold" text="%TGDESC%" )--><!--@endprompt()-->
<!--@table( class="list" )-->
<!--@tablerow()-->
<!--@headercell()-->
<!--@prompt( text="_NPHPSS_ACCOUNT___" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@headercell()-->
<!--@prompt( text="_NPHPSS_TRGT______" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@headercell()-->
<!--@prompt( text="Enabled" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@headercell( width="RWIDTH" )-->
<!--@nbsp()--><!--@endnbsp()-->
<!--@endheadercell()-->
<!--@endtablerow()-->
%ACCTS%
<!--@endtable()-->
<!--@endcell()-->
<!--@cell( class="right" width="CWIDTH" )-->
<!--@button( image="select.png" name="SUBMIT-SELECT-%TGID%" text="BUTTON_SELECT" )--><!--@endbutton()-->
<!--@endcell()-->
<!--@endtablerow()-->
!!!S_SELECT_TGROUP_ACCOUNT_ROW
<!--@tablerow()-->
<!--@cell()-->
<!--@prompt( text="%ALIAS%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@cell()-->
<!--@prompt( text="%HOSTNAME%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@cell( colspan="2" )-->
<!--@prompt( text="%ACCTATTR_ACCOUNTENABLED%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@endtablerow()-->
!!!S_CHANGE_ACCOUNTS
<!--@cell( width="50%" )-->
<!--@prompt( class="bold" text="_NPHPSS_RESET_PAS" )--><!--@endprompt()-->
<!--@table( class="list" )-->
<!--@tablerow()-->
<!--@headercell( class="center checkAll" width="CWIDTH" )-->
%HEADERIMG%
<!--@nbsp()--><!--@endnbsp()-->
<!--@endheadercell()-->
<!--@headercell()-->
<!--@prompt( text="_NPHPSA_ACCOUNT___" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@headercell()-->
<!--@prompt( text="_NPHPSA_TRGT______" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@headercell()-->
<!--@prompt( text="First name" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@headercell()-->
<!--@prompt( text="Last name" )--><!--@endprompt()-->
<!--@endheadercell()-->
<!--@endtablerow()-->
%ROWS%
<!--@endtable()-->
<!--@endcell()-->
!!!S_CHANGE_ROW
<!--@tablerow()-->
<!--@cell( class="center" )-->
%ROWCHECK%
<!--@endcell()-->
<!--@cell()-->
<!--@prompt( text="%ALIAS%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@cell()-->
<!--@prompt( text="%HOSTNAME%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@cell()-->
<!--@prompt( text="%ACCTATTR_GIVENNAME%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@cell()-->
<!--@prompt( text="%ACCTATTR_SN%" )--><!--@endprompt()-->
<!--@endcell()-->
<!--@endtablerow()-->