mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:16 +00:00 
			
		
		
		
	Changed user for username in the wazuh-keystore command
This commit is contained in:
		@@ -115,7 +115,7 @@ function_entrypoint_scripts() {
 | 
				
			|||||||
function_configure_vulnerability_detection() {
 | 
					function_configure_vulnerability_detection() {
 | 
				
			||||||
if [ "$INDEXER_PASSWORD" != "" ]; then
 | 
					if [ "$INDEXER_PASSWORD" != "" ]; then
 | 
				
			||||||
  >&2 echo "Configuring password."
 | 
					  >&2 echo "Configuring password."
 | 
				
			||||||
  /var/ossec/bin/wazuh-keystore -f indexer -k user -v $INDEXER_USERNAME
 | 
					  /var/ossec/bin/wazuh-keystore -f indexer -k username -v $INDEXER_USERNAME
 | 
				
			||||||
  /var/ossec/bin/wazuh-keystore -f indexer -k password -v $INDEXER_PASSWORD
 | 
					  /var/ossec/bin/wazuh-keystore -f indexer -k password -v $INDEXER_PASSWORD
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user