summaryrefslogtreecommitdiff
path: root/rhimport-dn
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-dn')
-rwxr-xr-xrhimport-dn6
1 files changed, 2 insertions, 4 deletions
diff --git a/rhimport-dn b/rhimport-dn
index bf98e81..bf72584 100755
--- a/rhimport-dn
+++ b/rhimport-dn
@@ -39,10 +39,8 @@ my $DBPW = "lldriven";
my $DB = "rivendell";
-my $luser = `/usr/bin/id -un`;
-$luser =~ s/\n//;
-($luser eq "equinox") or die "You are not allowed to use this script\n";
-my $user = "autoimport";
+my $user = `/usr/bin/id -un`;
+$user =~ s/\n//;
my $group = "democracyn";
my $dbh = DBI->connect("DBI:mysql:$DB:$DBHOST","$DBUSER","$DBPW") or die "Database Error: $DBI::errstr";