[jetty-dev] [jira] (JETTY-1526) SetUID leaves user.name and user.home set to root and /root (respectively)
"Ido (JIRA)" <[email protected]> Tue, 19 Jun 2012 21:09:21 -0500 (CDT)
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <1349447259.13830.1340158161235.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Ido
created JETTY-1526
SetUID leaves user.name and user.home set to root and /root (respectively)
Issue Type:
Bug
Affects Versions:
8.1.4
Assignee:
Unassigned
Created:
19/Jun/12 9:08 PM
Description:
I use the SetUID feature. When reading the user.name and user.home system properties (quite a while after the process UID has already been set to that of the "jetty" user) I noticed they're still set to "root" and "/root".
Of course this initialization occurs at JVM startup, at which time the values are correct since the user owning the process is indeed root. However, when SetUID is triggered, I'd expect Jetty to reset those values according to the new UID ("jetty" and "/home/jetty", in my case). Several dependencies of my project (e.g. sshj) rely on these system properties.
Environment:
Ubuntu 12.04 64-bit, OpenJDK7
Project:
Jetty
Priority:
Major
Reporter:
Ido
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators .
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email