blob: e8f0d2f500f7cc8d84ed807f63dc6a994551a78e [file] [log] [blame]
#!/bin/sh
#
# Set Password for a specific new user
# This script should be run as 'root'
#
# Example:
# ./su_set_passwd USER ENCRYPTED_PASSWD
#
USER=$1
ENCRYPTED_PASSWD=$2
usermod -p $ENCRYPTED_PASSWD $USER
exit $?