You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/01/27 16:53:46 UTC

[25/36] incubator-trafficcontrol git commit: Removed 2nd check for root access in postinstall-new

Removed 2nd check for root access in postinstall-new


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/a3433b05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/a3433b05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/a3433b05

Branch: refs/heads/master
Commit: a3433b05d2ddc4683bfedd67f65fc8b83240a5a4
Parents: 62da24d
Author: peryder <pe...@cisco.com>
Authored: Wed Dec 7 12:43:58 2016 -0500
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jan 27 09:52:53 2017 -0700

----------------------------------------------------------------------
 traffic_ops/install/bin/postinstall-new | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a3433b05/traffic_ops/install/bin/postinstall-new
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/postinstall-new b/traffic_ops/install/bin/postinstall-new
index 9972daa..c5ffeef 100755
--- a/traffic_ops/install/bin/postinstall-new
+++ b/traffic_ops/install/bin/postinstall-new
@@ -669,11 +669,6 @@ sub main {
 
     logger( "Postinstall " . ( defined $reconfigure ? "in" : "not" ) . " in reconfigure mode", "info" );
 
-    # check if the user has root access
-    if ( $ENV{USER} ne "root" ) {
-        errorOut("You must run this script as the root user");
-    }
-
     rotateLog($cpanLogFile);
 
     if ( -s $::logFile > $maxLogSize ) {