Commit 5ec72524 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Commit minor change before moving to attic; will use the freebsd

version instead.
parent bee54e46
......@@ -96,6 +96,9 @@ sub os_usermod($$$$$)
{
my($login, $gid, $glist, $pswd, $root) = @_;
if ($root) {
$glist = join(',', split(/,/, $glist), "wheel");
}
if ($glist ne "") {
$glist = "-G $glist";
}
......@@ -127,6 +130,9 @@ sub os_useradd($$$$$$$$)
{
my($login, $uid, $gid, $pswd, $glist, $homedir, $gcos, $root) = @_;
if ($root) {
$glist = join(',', split(/,/, $glist), "wheel");
}
if ($glist ne "") {
$glist = "-G $glist";
}
......
Markdown is supported
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