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

Properly check the new uid with TBcheck_dbslot() to make sure that it

parent 17cb73f9
......@@ -89,6 +89,15 @@ if (@ARGV != 2) {
my $olduid = shift(@ARGV);
my $newuid = shift(@ARGV);
# Make sure that the new uid is valid!
if (! TBcheck_dbslot($newuid, "users", "uid",
die("*** $0:\n".
" Invalid characters in new uid: $newuid!\n");
# This script is always audited. Mail is sent automatically upon exit.
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