Commit b9d775df authored by Leigh B Stoller's avatar Leigh B Stoller

Bug Fix: Make sure nocollabtools is set for system users (elabman,

geniuser).
parent f610dc43
......@@ -364,6 +364,9 @@ Phase "geniuser", "Creating user $geniuserid", sub {
if (!defined($geniuser));
ExecQuietFatal("$SUDO -u $PROTOUSER $WAP $TBACCT verify $geniuserid");
# No need for email lists.
$geniuser->Update({'nocollabtools' => 1});
};
my $geniproj = Project->Lookup($geniprojid);
......
......@@ -189,6 +189,7 @@ print "Creating user in database...\n";
DBQueryFatal("insert into users set uid='$protouser', usr_created=now(), " .
"usr_name='$protouser_name', uid_uuid='$uid_uuid', ".
"usr_addr='DO NOT DELETE THIS ACCOUNT', ".
"nocollabtools=1, ".
"usr_pswd='$encpass', unix_uid=$uid, notes='$protouser_notes', ".
"usr_modified=now(), admin=1, webonly=0, status='active',".
"usr_shell='$protouser_shell', usr_email='$protouser_email', ".
......
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