Commit 29dbe766 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add -m option when creating a user (for jails where the homedir does

not already exist).
parent 64997939
......@@ -227,7 +227,7 @@ sub os_useradd($$$$$$$$)
if (system("$USERADD $login -u $uid -g $gid $glist ".
"-d $homedir -s /bin/tcsh -c \"$gcos\"") != 0) {
"-m -d $homedir -s /bin/tcsh -c \"$gcos\"") != 0) {
warn "*** WARNING: $USERADD $login error.\n";
return -1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment