I am kicking the tires on Lift on an experimental server. I have a problem while trying to configure Jetty to run as a non-root user for security purposes. I have followed the instructions at http://docs.codehaus.org/display/JETTY/port80 for building libsetuid and the following is now located in /root/.m2/repository/org/mortbay/ jetty/libsetuid/6.1.16
libsetuid-6.1.16.pom libsetuid-6.1.16.so libsetuid-6.1.16-sources.jar jetty-setuid and jetty-setuid-java are also present in org.mortbay.jetty. During build of setuid, the shared object libsetuid.so could not be found during the test phase, although it was successfully compiled in the target directory. I had to run mvn - Dmaven.test.skip=true install and then link the .so in /usr/local/lib and lib64. I then added [jettyConfig]/path/to/lift/helloworld/jetty.xml[/jettyConfig] in pom.xml of the helloworld example and created a jetty.xml in accordance to http://docs.codehaus.org/display/JETTY/port80 When i run mvn -e jetty:run in helloworld, it dies with java.lang.ClassNotFoundException: org.mortbay.setuid.SetUIDServer Has anyone had any success running the Jetty plugin as a non-root user for their Lift web applications? I realize that the Jetty forum would be a good venue for this question, however I am primarily interested in Lift and hope to be more active in this group in the future. Any insight would be greatly appreciated. Thanks, Tamer -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
