use strict vars;
#use Apache::Registry;
use CGI;
-use UUID;
+use Data::UUID;
use Digest::HMAC_SHA1 qw(hmac_sha1_hex);
use Util;
use English;
}
# create a md5 crypted password
my $newsudopassword = crypt($query->param('newsudopass'), &Util::CreateCryptSalt(1));
- my ($uuidbin, $uuid);
- UUID::generate($uuidbin);
- UUID::unparse($uuidbin, $uuid);
+ my $ug = new Data::UUID;
+ my $uuid = $ug->create_str();
$newsudo = "$uuid unconfirmed $host $newsudopassword";
$newsudo_hosts = $host;