echo ${USER:0:8}$(openssl rand -base64 32 | tr -dc a-zA-Z0-9);

Print the first 8 characters of the current user's username followed by a random string of 32 alphanumeric characters.
echo ${USER:0:8}$(openssl rand -base64 32 | tr -dc a-zA-Z0-9);