Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8032021

Java command cannot run with setuid bit for user and group

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • tools

      SHORT SUMMARY: Java command cannot run with setuid bit for user and group

      DESCRIPTION: Feature request from customer. We need dev team to evaluate this request.

      ====
      java command cannot run with setuid bit for user and group
         
        $ ./java -version
        java version "1.7.0_09"
        Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
        Java HotSpot(TM) Server VM (build 23.5-b02, mixed mode)
         
        $ chmod ug+s java
        $ ls -la | grep java
        -rwsr-sr-x 1 weblogic weblogic 5746 2012-09-25 13:21 java
        $ ./java -version
        java version "1.7.0_09"
        Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
        Java HotSpot(TM) Server VM (build 23.5-b02, mixed mode)
         
        $ su myuser
         
        $ ./java -version
        ./java: error while loading shared libraries: libjli.so: cannot open shared
        object file: No such file or directory

      ======
       

            Unassigned Unassigned
            asaha Abhijit Saha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: