Running Glassfish on Port 80 as Non-root Solaris 10 User
By snjezana on Jun 14, 2006
By default, you cannot use ports below 1024 if you are running Glassfish or Sun Java System Application Server (or anything else, for that matter) as non-root Solaris user. Solaris 10 provides role
based access control (RBAC) which makes this rather trivial (although
you'll still need one-time root user access to make it possible).
So, how to do it?
Step 1: login as root user or run su command
Step 2: run following command:
/usr/sbin/usermod -K defaultpriv=basic,net_privaddr <username>
where <username> is the username you are using to run Glassfish.
That's it :-)