Repository: incubator-trafodion
Updated Branches:
  refs/heads/master b6b9f43b6 -> cc392ffe4


Error during traf_add_sudoAccess


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

Branch: refs/heads/master
Commit: bd2d6b9f3368e45d3c44da1d74c327b3d8ca6245
Parents: 057ae46
Author: Amanda Moran <ama...@apache.com>
Authored: Mon Sep 12 21:25:28 2016 +0000
Committer: Amanda Moran <ama...@apache.com>
Committed: Mon Sep 12 21:25:28 2016 +0000

----------------------------------------------------------------------
 install/installer/traf_add_sudoAccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/bd2d6b9f/install/installer/traf_add_sudoAccess
----------------------------------------------------------------------
diff --git a/install/installer/traf_add_sudoAccess 
b/install/installer/traf_add_sudoAccess
index d0e4a45..badb7fc 100755
--- a/install/installer/traf_add_sudoAccess
+++ b/install/installer/traf_add_sudoAccess
@@ -40,8 +40,8 @@ function backupRestore {
 
 source $TRAF_CONFIG
 
-sudo echo "## Allow $BACKUP_USER id to run commands needed for backup and 
restore" > $BACKUP_USER
-sudo echo "%$BACKUP_USER ALL =(hbase) NOPASSWD: /usr/bin/hbase" >> $BACKUP_USER
+echo "## Allow $BACKUP_USER id to run commands needed for backup and restore" 
> $BACKUP_USER
+echo "%$BACKUP_USER ALL =(hbase) NOPASSWD: /usr/bin/hbase" >> $BACKUP_USER
 
 }
 

Reply via email to