Add help for redirecting password via file

This commit is contained in:
Thomas Gebert 2025-07-24 12:57:10 +02:00
parent 2682646312
commit 59abb0ceb9

View File

@ -22,7 +22,8 @@ cat << HELP
Script to update the password of a user.
The password is either
- entered interactively
- redirected from STDIN via ${MY_NAME} ... <<< 'newpassword'
- redirected from STDIN via ${MY_NAME} ... <<< 'newpassword'
- redirected from a file via ${MY_NAME} ... < /path/to/file-with-password
Usage: $1 [OPTION]
Mandatory:
@ -127,4 +128,4 @@ done
check_if_root
check_user
get_password
change_user_password
change_user_password