summaryrefslogtreecommitdiff
path: root/utils/update-rd-tokens
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-10 01:05:32 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-10-10 01:05:32 (GMT)
commit21382e3f67e2c6eaffd7ed228169e73ae28088bd (patch)
treedfe9d4338b0cc7dfc9d7f8899d9617746b8ebca0 /utils/update-rd-tokens
parent96a74ca08ad6cb407823374d86a1c8da99af2871 (diff)
removed root user checks
Diffstat (limited to 'utils/update-rd-tokens')
-rwxr-xr-xutils/update-rd-tokens6
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/update-rd-tokens b/utils/update-rd-tokens
index 0fda599..c3cb633 100755
--- a/utils/update-rd-tokens
+++ b/utils/update-rd-tokens
@@ -24,12 +24,6 @@ use strict;
use RHRD::rddb;
use String::MkPasswd qw(mkpasswd);
-# this is ridiculous but makes it a little harder to change user passwords...
-if ($> != 0 ) {
- print STDERR "this must be run as root!\n";
- exit 1;
-}
-
my $ret = 0;
my ($ctx, undef, $errorstring) = RHRD::rddb::init();