It sounds like you are using the command incorrectly. Since you didn't tell us exactly what you ran, here's the usage (see also "man useradd"):
Code:
usage: useradd [-u uid [-o] | -g group | -G group[[,group]...] | -d dir |
-s shell | -c comment | -m [-k skel_dir] | -f inactive |
-e expire | -A authorization [, authorization ...] |
-P profile [, profile ...] | -R role [, role ...]]
-p project [, project ...] login
Example:
Code:
useradd -d /home/rcforster -m -c "R.C. Forster" rcforster