d/t/util: make creating the smb user more robust
A while back I went around in circles trying to understand a test
failure, and turns out I was running the test script locally with bash
while debugging, when the real thing ran as /bin/sh
. This change makes
it more robust.