Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
29dbe766
Commit
29dbe766
authored
Sep 26, 2002
by
Leigh B. Stoller
Browse files
Add -m option when creating a user (for jails where the homedir does
not already exist).
parent
64997939
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/liblocsetup.pm
View file @
29dbe766
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment