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 b26452f3 authored by Mike Hibler's avatar Mike Hibler

Force use of "ssh -2" so this works with old 4.10 boss

parent 198f92ee
#!/usr/bin/perl -w
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved.
......@@ -171,7 +171,7 @@ if (system("/usr/sbin/pw useradd $protouser -u $uid -g $agid ".
print "Creating user on ops...\n";
if (system("ssh $CONTROL ".
if (system("ssh -2 $CONTROL ".
"'/usr/sbin/pw useradd $protouser -u $uid -g $agid ".
"-G \"$Ggid\" -h - -d $HOMEDIR/$protouser -s $binshell ".
"-c \"$protouser_name\"'")) {
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