Hello,
DB2 will authenticate user at OS level.
For db2<sid> user, OS password change should be ok.
For SAP connect user, or <sid>adm user, besides OS password change, you have to update the password configuration file using dscdb6up. e.g. dscdb6up <sid>adm <password>.
Kind regards
Maria