It is not possible to break out of createuser with ctrl-c, ctrl-\ or
kill -TERM.
The reason is that this line: # Don't want to leave the user blind if he breaks # during password entry.
trap 'stty echo >/dev/null 2>&1' 1 2 3 15
should be: trap 'stty echo >/dev/null 2>&1; exit 1' 1 2 3 15
or even trap 'stty echo >/dev/null 2>&1' EXIT
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
======================================== "But the LORD is in his holy temple; let all the earth keep silence
beforehim." Habakkuk 2:20