Re: How to change effective user id on Windows

2010-01-08 Thread Jim Ma
credentials than the system user is likely to lead to a less secure configuration, instead of improving. M. -Original Message- From: Amit Agarwal [mailto:ami@gmail.com] Sent: donderdag 07 januari 2010 15:08 To: users@tomcat.apache.org Subject: How to change effective user id on Windows T

Re: How to change effective user id on Windows

2010-01-08 Thread Peter Crowther
2010/1/8 Amit Agarwal : > HOw do we start TOmcat programatically using Bootstrap.start() API if we > need to pass the user ? You don't do it that way ;-). By the time you start the Java virtual machine (JVM) that runs Tomcat, that JVM must *already* be running as the user you want to use for Tomc

Re: How to change effective user id on Windows

2010-01-07 Thread Amit Agarwal
HOw do we start TOmcat programatically using Bootstrap.start() API if we need to pass the user ? On Thu, Jan 7, 2010 at 8:30 PM, Peter Crowther wrote: > 2010/1/7 Looijmans, Mike : > > The current configuration is correct in terms of security - the 'SYSTEM' > > user is a limited account that has n

Re: How to change effective user id on Windows

2010-01-07 Thread Peter Crowther
2010/1/7 Looijmans, Mike : > The current configuration is correct in terms of security - the 'SYSTEM' > user is a limited account that has no access to the desktop nor shared > network resources. Sorry to pick you up on this one, Mike, but I think you're thinking of Local*Service*, not Local*Syste

RE: How to change effective user id on Windows

2010-01-07 Thread Looijmans, Mike
figuration, instead of improving. M. > -Original Message- > From: Amit Agarwal [mailto:ami@gmail.com] > Sent: donderdag 07 januari 2010 15:08 > To: users@tomcat.apache.org > Subject: How to change effective user id on Windows > > Tomat on Linux starts as root to bind t

Re: How to change effective user id on Windows

2010-01-07 Thread Ziggy
Look at http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.htmland see the --user parameter under command line parameters. -- D On Thu, Jan 7, 2010 at 2:07 PM, Amit Agarwal wrote: > Tomat on Linux starts as root to bind to > port 80, and then switches effective user id to nobody. Win

Re: How to change effective user id on Windows

2010-01-07 Thread Peter Crowther
2010/1/7 Amit Agarwal : > Tomat on Linux starts as root to bind to > port 80, and then switches effective user id to nobody. Windows does not > appear to have concept of changing effective user. Tomcat service runs > as a local system on Windows. Need to change the user for Tomcat > after binding t

How to change effective user id on Windows

2010-01-07 Thread Amit Agarwal
Tomat on Linux starts as root to bind to port 80, and then switches effective user id to nobody. Windows does not appear to have concept of changing effective user. Tomcat service runs as a local system on Windows. Need to change the user for Tomcat after binding to port 80. How can this be achiev