Yet Another Blog...

« Previous month (May 2006) | Main | Next month (Jul 2006) »

20060614 Wednesday June 14, 2006

Running Glassfish on Port 80 as Non-root Solaris 10 User

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 :-)

Posted by snjezana ( Jun 14 2006, 01:30:29 PM PDT ) Permalink Comments [4]


Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.