How to create a domain without using the root user in Sunone Server

Hi,I am having one requirement to create a domain without using root user in sunone application server 8.1. Does any body know the solution?Message was edited by: SPBP
[195 byte] By [SPBP] at [2007-11-26 8:21:59]
# 1

Hi,

If you are using file-based installation, you can install as non-root user and create domains as usual. You can use asadmin command available at <AS_INSTALL>/bin to do this.

ex: ./asadmin create-domain --domaindir /tmp/justfortest --adminport 4850 --adminuser admin domain_nonroot_test

Did you face any problem doing this in non-root. Unless you have write permissions in domaindir, you won't be facing any problem.

Hope this clarifies your question.

Thanks,

-Balaji.

BalajiKoutharapu at 2007-7-6 21:29:27 > top of Java-index,Application & Integration Servers,Application Servers...
# 2
Hi I have the same question, but how can I make the domain binds to port 80 as non-root user?thanks
zerocooler at 2007-7-6 21:29:27 > top of Java-index,Application & Integration Servers,Application Servers...
# 3
I think you can do this in Solaris 10 using "/usr/bin/usermod" command. /usr/sbin/usermod -K defaultpriv=basic,net_privaddr <username>
sathyan_catari at 2007-7-6 21:29:27 > top of Java-index,Application & Integration Servers,Application Servers...