All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit b48d9123 authored by Robert Ricci's avatar Robert Ricci

Don't run firstuser if not in batch mode - in the normal install

path, users run this by hand so they can interact with it (ie. type
a password).
parent 3688067b
......@@ -887,6 +887,8 @@ Phase "named", "Setting up initial named configuration", sub {
Phase "firstuser", "Setting up initial user (elabman)", sub {
PhaseSkip("elabman already created")
if (-d "/users/elabman");
PhaseSkip("Not needed unless in batch mode")
if (!$batchmode);
ExecQuietFatal("perl $TOP_OBJDIR/utils/firstuser ".
($batchmode ? " -b" : "") .
(defined($password) ? " -p $password" : ""));
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