#!/bin/bash set -u # Make it so user has a password. # Start state: Bruno may or may not already have a password set. # Just attempt to set it and ignore errors if already set. declare SDPInstance=${1:-${SDP_INSTANCE:-1}} # shellcheck disable=SC1091 source /p4/common/bin/p4_vars "$SDPInstance" echo "As user $P4USER, setting password for user bruno." yes "$(cat "$SDP_ADMIN_PASSWORD_FILE")" | p4 -s passwd bruno echo "Logging in bruno after password change." p4 login bruno
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 31574 | C. Thomas Tyler |
Merged SDP 2024.2 Patch 4 from Classic to Streams. p4 merge -b SDP_Classic_to_Streams |
||
//guest/perforce_software/sdp/dev/test/bsw/set_password_for_bruno.sh | |||||
#2 | 31547 | C. Thomas Tyler | SDP BSW regression test suite refinements. | ||
#1 | 31521 | C. Thomas Tyler |
Refined tests for ccheck.sh with -sec. Added more tests for -fix/-FIX. Refined scan for unreported test errors to ignore known harmless warnings. Added utility script to set password and login bruno, as needed when messing with security configurations. |