The useraddpw
script of Assignment 4
#!/bin/bash userid=$1 password=$2 # Generate encrypted hash of $password: hash=$(echo $password | openssl passwd -1 -stdin) # Create user account for $userid while assigning $hash as password: useradd -m -p $hash $userid