diff --git a/src/fr/devinsy/util/unix/Unix.java b/src/fr/devinsy/util/unix/Unix.java index 6430214..8c1a34b 100644 --- a/src/fr/devinsy/util/unix/Unix.java +++ b/src/fr/devinsy/util/unix/Unix.java @@ -144,7 +144,7 @@ public class Unix try { logger.info("Creating user account for [" + login + "]."); - CmdExec.run(SUDO, "/usr/sbin/useradd", "-c", name, "-d", home, login); + CmdExec.run(SUDO, "/usr/sbin/useradd", "-m", "-c", name, "-d", home, login); EtcPasswdFile.instance().update(); logger.info("User account created for [" + login + "]."); }