From 49ea4665c6895db3574b7681021c7840a034bdfa Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Tue, 3 Jul 2018 17:51:32 -0700 Subject: [PATCH] Explicitly create user home directory when creating user --- tljh/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tljh/user.py b/tljh/user.py index 51c1c7f..6b7ca0c 100644 --- a/tljh/user.py +++ b/tljh/user.py @@ -23,6 +23,7 @@ def ensure_user(username): subprocess.check_call([ 'useradd', + '--create-home', username ])