Permalink
Browse files

Disallow nagiosadmin user in nems-init

  • Loading branch information...
NEMS Linux
NEMS Linux committed Oct 28, 2018
1 parent c0d4e29 commit 4fd1b28555750883e844a3c033dffe9bbf15f0ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.sh
@@ -91,7 +91,7 @@ else
for e; do [[ "$e" == "$match" ]] && return 0; done
return 1
}
badnames=("nemsadmin" "nagios" "nems" "root" "user" "config" "pi" "admin" "robbie")
badnames=("nemsadmin" "nagios" "nems" "root" "user" "config" "pi" "admin" "robbie" "nagiosadmin")
while true; do
read -p "What would you like your NEMS Username to be? " username
if [[ ${username,,} == $username ]]; then

0 comments on commit 4fd1b28

Please sign in to comment.