|
@@ -358,8 +358,8 @@ EOF
|
358
|
358
|
echo " dialog --backtitle \"${ENTROPY_MESSAGE1}\" --title \"${ENTROPY_MESSAGE2}\" --msgbox \"${ENTROPY_MESSAGE3}\" 8 50" >> $rootdir/root/.bashrc
|
359
|
359
|
echo ' exit' >> $rootdir/root/.bashrc
|
360
|
360
|
echo ' fi' >> $rootdir/root/.bashrc
|
361
|
|
- echo -n ' NEW_USER_PASSWORD="$(openssl rand -base64 30 | cut -c1-' >> $rootdir/root/.bashrc
|
362
|
|
- echo "${DEFAULT_PASSWORD_LENGTH})\"" >> $rootdir/root/.bashrc
|
|
361
|
+ echo -n ' NEW_USER_PASSWORD=$(openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ' >> $rootdir/root/.bashrc
|
|
362
|
+ echo "${DEFAULT_PASSWORD_LENGTH})" >> $rootdir/root/.bashrc
|
363
|
363
|
echo ' fi' >> $rootdir/root/.bashrc
|
364
|
364
|
echo ' echo "${NEW_USER_PASSWORD}" > ~/login.txt' >> $rootdir/root/.bashrc
|
365
|
365
|
|