32 |
-u) shift; [[ $1 -lt 100 ]] && FIXED_USER_OPTS+=" -S"; FIXED_USER_OPTS+=" -u $1" ;; |
-u) shift; [[ $1 -lt 100 ]] && FIXED_USER_OPTS+=" -S"; FIXED_USER_OPTS+=" -u $1" ;; |
33 |
-r) FIXED_USER_OPTS+=" -S" ;; |
-r) FIXED_USER_OPTS+=" -S" ;; |
34 |
-M) FIXED_USER_OPTS+=" -H" ;; |
-M) FIXED_USER_OPTS+=" -H" ;; |
35 |
|
-l) continue ;; # just ignore this switch, adduser does not support it |
36 |
*) FIXED_USER_OPTS+=" $1" ;; |
*) FIXED_USER_OPTS+=" $1" ;; |
37 |
esac |
esac |
38 |
shift |
shift |
66 |
do |
do |
67 |
case $1 in |
case $1 in |
68 |
-M) : ;; # usermod does not support the -M switch |
-M) : ;; # usermod does not support the -M switch |
69 |
|
-l) : ;; # usermod -l has not the same meaning like the -l switch of useradd |
70 |
*) FIXED_USERMOD_OPTS+=" $1" ;; |
*) FIXED_USERMOD_OPTS+=" $1" ;; |
71 |
esac |
esac |
72 |
shift |
shift |