You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/pwchange.bat
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@ REM Define the original and new passwords here. To use automatic password genera
3
3
SETOLDPASS=changeme
4
4
SETNEWPASS=auto
5
5
6
+
REM Configure if the random password generated should be printed into the output that is sent back to Splunk. Default is "0" which means it's NOT printed. Change to "1" to print.
7
+
SETPRINT_PASS=0
8
+
6
9
REM Settings for automatic password generation. Not used if NEWPASS is not set to 'auto'
7
10
SetlocalEnableDelayedExpansion
8
11
SET_RNDLength=16
@@ -58,7 +61,11 @@ IF NOT "%LOGIN%"=="Failed" (
58
61
REM Create the checkpoint file and log success. This will print the password in the log message passed back to Splunk.
Copy file name to clipboardExpand all lines: bin/pwchange.sh
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
OLDPASS=changeme
4
4
NEWPASS=auto
5
5
6
+
# Configure if the random password generated should be printed into the output that is sent back to Splunk. Default is "0" which means it's NOT printed. Change to "1" to print.
7
+
PRINT_PASS=0
8
+
6
9
# Look for the checkpoint file and error out if it exists
0 commit comments