Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 156179

Summary: RAC Linux 4.3.0 wanting to configure security, when set to FALSE
Product: z_Archived Reporter: Darryl Miles <darryl>
Component: TPTPAssignee: Karla Callaghan <karla.callaghan>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: closed471

Description Darryl Miles CLA 2006-09-05 06:45:44 EDT
agntctrl.linux_em64t-TPTP-4.3.0-200609030100

$ ./SetConfig.sh
Specify the fully qualified path of "java" (e.g. /usr/java1.4/jre/bin/java):
  Default>"/opt/jdk1.5.0_08_x86_64/jre/bin/java" (Press <ENTER> to accept the default value)
  New value>
Network access mode (ALL=allow any host, LOCAL=allow only this host, CUSTOM=list of hosts):
  Default>"LOCAL" (Press <ENTER> to accept the default value)
  New value>
Security enabled. (true/false):
  Default>"FALSE" (Press <ENTER> to accept the default value)
  New value>
Please enter the JBoss Application Server Home:
  Default>"/opt/jboss-4.0.4.GA" (Press <ENTER> to accept the default value)
  New value>
Please enter the JOnAS Application Server Home:
  Default>"null" (Press <ENTER> to accept the default value)
  New value>

Agent Controller has been configured for security.
Please enter root password to enable that security:
Password:

su: incorrect password


This works as expected with 4.2.0.2.  But if I understand correctly I have left the default of "FALSE" for "Security enabled." so I don't expect to be prompted for root password to configure security.
Comment 1 Darryl Miles CLA 2006-09-05 06:49:08 EDT
$ cat bin/SetConfig.sh
#!/bin/sh

#
# Generate the configuration files
#
java -classpath ../lib/config.jar:../lib/config.nl1.jar:../lib/config.nl2.jar:../lib/config.nl2a.jar org.eclipse.tptp.platform.agentcontroller.config.SetConfig $*

#
# Change the owner of ChkPass so that Agent Controller does not need root access for authenticating user passwords
#
SECURED=`grep -c '<Security' ../config/serviceconfig.xml`
if [ $SECURED = "0" ]; then
        echo
else
        echo
        echo 'Agent Controller has been configured for security.'
        echo 'Please enter root password to enable that security:'
        su root -c "chown root ChkPass;chmod +s ChkPass"
fi



Maybe the grep should be:

grep -ic '<SecurityEnabled>true' ../config/serviceconfig.xml
Comment 2 George Christelis CLA 2006-09-05 07:11:55 EDT
Reassigning to correct component
Comment 3 Karla Callaghan CLA 2006-09-05 20:15:23 EDT

*** This bug has been marked as a duplicate of 154587 ***
Comment 4 Karla Callaghan CLA 2006-11-20 18:43:27 EST
Setting target according to iteration matching resolution date.
Comment 5 Kathy Chan CLA 2010-11-18 18:52:24 EST
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.