--- loncom/build/make_domain_coordinator.pl 2002/03/04 05:06:00 1.2 +++ loncom/build/make_domain_coordinator.pl 2002/06/10 02:01:16 1.5 @@ -11,7 +11,7 @@ make_domain_coordinator.pl - Make a doma # The LearningOnline Network # make_domain_coordinator.pl - Make a domain coordinator on a system # -# $Id: make_domain_coordinator.pl,v 1.2 2002/03/04 05:06:00 harris41 Exp $ +# $Id: make_domain_coordinator.pl,v 1.5 2002/06/10 02:01:16 harris41 Exp $ # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). # @@ -101,15 +101,16 @@ There are no flags to this script. usage: make_domain_coordinator.pl [USERNAME] [DOMAIN] -The password is accepted through standard input. +The password is accepted through standard input +and should only consist of printable ASCII +characters and be a string of length greater than 5 characters. The first argument specifies the user name of the domain coordinator and should consist of only alphanumeric characters. -The second argument specifies the password for the domain -coordinator and should only consist of printable ASCII -characters and be a string of length greater than 5 characters. +The second argument specifies the domain of the computer +coordinator and should consist of only alphanumeric characters. =cut @@ -129,6 +130,7 @@ unless ($domain=~/^\w+$/ and $domain!~/\ "\n"; } +print "Password: "; $|=1; my $passwd=<>; # read in password from standard input chomp($passwd);