Commit 3c2b27c2 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Do not create initial public keys for elabman since they are

unencrypted, not to mention useless.
parent 8d0f44e8
......@@ -405,7 +405,7 @@ sub AddUser()
# Do the ssh thing. Invoke as real user for auditing.
#
$EUID = $UID;
if (system("$ADDKEY -i $user")) {
if ($user ne $PROTOUSER && system("$ADDKEY -i $user")) {
fatal("Could not generate initial ssh key for $user");
}
# Add to elists.
......
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