Hi Andy
das von dir beschriebene Verhalten ist normal. Siehe Manpage:
Code:
-d, --home HOME_DIR
The new user will be created using HOME_DIR as the value for
the user's login directory. The default is to append the LOGIN
name to BASE_DIR and use that as the login directory name. The
directory HOME_DIR does not have to exist but will not be
created if it is missing.
Der letzte Satz frei übersetzt: "Das Verzeichniss HOME_DIR muss nicht existieren und wird nicht erstellt, wenn es nicht vorhanden ist."
Als Lösung würde ich adduser empfehlen, dieser erstellt das Verzeichnis.
Gruss
afries
Lesezeichen