summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-07-20 21:23:31 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-07-20 21:23:31 (GMT)
commit328edb215c2a54847c3ade4d75a1a506442edf01 (patch)
tree5ce6358bb427965ac5bb37bdaf25ab489ae447f5
parent0d907aebd3588badea774349ea15648d385db3e5 (diff)
fixed rhimport-dn user handling
-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";