When is the password changed for PVWAAppUser and PVWAGWUser?

When is the password changed for PVWAAppUser and PVWAGWUser?

85
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:56 PM


Question


When is the password changed for PVWAAppUser and PVWAGWUser?

Environment


10.10;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

Answer


The password is changed via an interval set by the InternalUsersPasswordChangeInterval parameter which can be defined in the web.conf file of the PasswordVault website. The following rules will be checked and the password will change accordingly (the default value for this parameter is 3600 seconds):
  • When creating the credential file (using CreateCredFile.exe utility), if "Disable wait for DR synchronization before allowing password change" is set to yes, then the password is changed.
  • If Disable wait for DR synchronization before allowing password change is set to no (which is the default value), then check the following:
    • If DR replication NEVER took place in this system, then the password is changed.
    • If a DR replication took place but the user used for the DR is disabled, then the password is changed.
    • If a DR replication took place and the user used for the DR is enabled and a replication was executed successfully since the last password change, then the password is changed.

Records of the User password change can be retrieved from User Activities Report and also Vault trace log.

Example of events from Vault Trace log :

2023-06-22 02:52:41.900 00001568 START      38855    PVWAAppUser[00]                  0=Logoný115=13.0.0.58ý69=Pý116=0ý100=ý217=Yý218=PVWAAPPý219=ý317=0ý357=0ý22=PVWAAppUserý367=30ý FROM 10.0.10.21
2023-06-22 02:52:42.057 00002092 START PE   38855    PVWAAppUser[00]                  ServiceName=LogonVersion=13.0.0.58AuthType=PChangePassword=0DistinguishedName=DisconnectUser=YClientID=PVWAAPPClientIP=Options=0UserSessionId=0UserName=PVWAAppUserUserTimeOut=30
2023-06-22 02:52:42.150 00002092 IncLoggedOnUsersCount: PVWAAppUser - 32 - 152 - 3 - PVWA - 2
2023-06-22 02:52:42.151 00002092 END PE     38855    PVWAAppUser[00]                  ServiceName=LogonVersion=13.0.0.58AuthType=PChangePassword=0DistinguishedName=DisconnectUser=YClientID=PVWAAPPClientIP=Options=0UserSessionId=0UserName=PVWAAppUserUserTimeOut=30 OK  -  Output Size = 186 Output Records Count = 1


Example of events from User Activities Report :

21/6/2023 3:25:08 PM,"","PVWAAppUser","Set Password","","",-1,"","No",88
21/6/2023 4:25:08 PM,"","PVWAAppUser","Set Password","","",-1,"","No",88
21/6/2023 5:25:08 PM,"","PVWAAppUser","Set Password","","",-1,"","No",88

21/6/2023 3:25:08 PM,"","PVWAGWUser","Set Password","","",-1,"","No",88
21/6/2023 4:25:08 PM,"","PVWAGWUser","Set Password","","",-1,"","No",88
21/6/2023 5:25:08 PM,"","PVWAGWUser","Set Password","","",-1,"","No",88
21/6/2023 6:25:08 PM,"","PVWAGWUser","Set Password","","",-1,"","No",88


Additional Information


Details

Q:
 
When is the password changed for PVWAAppUser and PVWAGWUser?
 
 
A:
 
The password is changed via an interval set by the "InternalUsersPasswordChangeInterval" parameter which can be defined in the web.conf file of PasswordVault website. The following rules will be checked and password will change accordingly (default value for this parameter is 3600 seconds):
  • When creating the credential file (using CreateCredFile.exe utility), if "Disable wait for DR synchronization before allowing password change" is set to "yes", then password is changed.
  • If "Disable wait for DR synchronization before allowing password change" is set to "no" (which is the default value), then check the following:
    • If DR replication NEVER took place in this system, then password is changed.
    • If a DR replication took place but the user used for the DR is disabled, then password is changed.
    • If a DR replication took place and the user used for the DR is enabled and a replication was executed successfully since the last password change, then password is changed.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000011lJCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail