Java command cannot run with setuid bit for user and group

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 9
    • Component/s: 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

      ======
       

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

              Created:
              Updated: