password-change-tool #11

Merged
thomas.gebert merged 2 commits from password-change-tool into main 2025-07-24 08:26:52 +00:00
Showing only changes of commit fc114004be - Show all commits

View File

@ -5,6 +5,7 @@
################################################################################ ################################################################################
USER_TO_CHANGE="" USER_TO_CHANGE=""
NEW_PASSWORD="" NEW_PASSWORD=""
MY_NAME=$(basename "$0")
################################################################################ ################################################################################
@ -18,7 +19,10 @@ die() {
show_help() { show_help() {
cat << HELP cat << HELP
Script to update the password of a user. Either Script to update the password of a user.
The password is either
- entered interactively
- redirected from STDIN via ${MY_NAME} ... <<< 'newpassword'
Usage: $1 [OPTION] Usage: $1 [OPTION]
Mandatory: Mandatory: