Permalink
Browse files

Add carriage return.

  • Loading branch information...
NEMS Linux
NEMS Linux committed Dec 11, 2018
1 parent 5a8d304 commit 4048bfa0aa6eef733b19625c8399175af9616e76
Showing with 1 addition and 0 deletions.
  1. +1 −0 init.sh
@@ -335,6 +335,7 @@ service.rpi-monitor=0
if [[ $reboot == 1 ]]; then
echo " and reboot your NEMS server."
fi
echo ""
deluser nemsadmin sudo # Remove super user access from nemsadmin account
rndpass=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${1:-32} | head -n 1)
echo -e "$rndpass\n$rndpass" | passwd nemsadmin >/tmp/init 2>&1 # set a random password on the account so no longer can login

0 comments on commit 4048bfa

Please sign in to comment.