Welcome [Register]  [Jaggy Sign in] 
  
 
CONTACT US» DiscussionsFebruary 06, 2012  
 
  Jaggy Discussions Forum  Oracle  Oracle Fusion M...  Change OID port to port < 1024 (other than 389/636)
Previous Previous
 
Next Disabled
New Post 10/31/2008 2:26 PM
User is offline admin
52 posts
No Ranking


Change OID port to port < 1024 (other than 389/636) 
Modified By admin  on 10/31/2008 1:26:30 PM)

root.sh only changes the permissions to root, if OID installs on 389 or 636, and not if it is installed on any other port < 1024

 

Extract from root.sh shows:

 

if [ -f oidldapd ] ; then
$ECHO "Setting oidldapd file protections"
if [ "389" -eq $NONSSLPORT -o "636" -eq $SSLPORT ] ; then
$CHOWN root oidldapd # make oidldapd setuid root for security
$CHMOD 4710 oidldapd # only owner and group has executepermission
else
$CHMOD 0710 oidldapd # only owner and group has execute permission
$CHMOD u+s oidldapd

**

 

Solution is to modify root.sh before running it as follow (example below is for ports 390/637):

 

if [ "389" -eq $NONSSLPORT -o "636" -eq $SSLPORT ] ; then
to:
if [ "390" -eq $NONSSLPORT -o "637" -eq $SSLPORT ] ; then
**

 

Optionally, leave root.sh unmodified, then as root run:

 

$chown root oidldapd

$chmod 4710 oidldapd

 
Previous Previous
 
Next Disabled
  Jaggy Discussions Forum  Oracle  Oracle Fusion M...  Change OID port to port < 1024 (other than 389/636)