Affects Version/s: 6.1.11
Fix Version/s: None
Number of attachments :
Solaris 10 a feature that enable better service management, when running over privileged ports (80 and 443) with non-root credentials
- This improvement enables non-root user to bind to privileged ports (80 and 443)
- Note that there is no need to use the setuid jetty provides.
- If the process die for some unknown reason, SMF facility restarts it
- Also, this improvement has a SMF script to enable native solaris management, by using svcadm and svcs utilities.
There are 2 patches.
1. jetty.sh.diff is self explanatory
2. jetty.xml is the SMF file
- More information about SMF
- More SMF files
1. as root copy jetty.xml to /var/svc/manifest/network/
2. Modify the non-root user to start the jetty server, modify the jetty path as well
3. import the smf service
7. check state
Enable non-root user to bind to privileged ports (this is only useful if start/stoping jetty by using jetty.sh)
Where USERNAME is the desired username
This has been working