fix various bugs

- usermod does not accept -o
- a syntax error in if ... else ... fi
- '' is an argument for -I, not -e