|
From: Prasad K. <pra...@em...> - 2002-12-03 16:40:34
|
Hi Leif
First of all thank you for a prompt reply.
My OS is XP professional. Although proper rights to the administrator =
user maybe an issue, I was more concerned with automating this process =
of logging in as administrator. When I run/install my app using the =
wrapper the "log on as" is Local System. How can I make it to =
administrator? The way you have explained to do this is a manual way of =
doing it. Can the administrator "log on as" not be the default by =
setting some property for the wrapper? Is there any setting in the conf =
file which will always run/install the service (using wrapper) with the =
"log on as" set to administrator?
Regards,
Prasad
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Monday, December 02, 2002 10:03 PM
To: wra...@li...
Subject: Re: [Wrapper-user] NT Service log on as
Prasad,
Currently, the Wrapper does not do anything special to run the=20
Wrapper/Java
processes as a specific user. If you go into the service manager and =
select
Properties for the Service, then you will see a login tab where you can=20
specify
the user name and password to use when running the service.
I tried this on my WinXP box here and work and keep getting the=20
following though:
---
System error 1069 has occurred.
The service did not start due to a logon failure.
---
From the following site, it looks like you have to enable the "Logon =
as Service" right
for the user to be logged in as a service. That is done using the Group =
Policy Editor.
I'll have to give that a try at home as gpedit.msc does not appear to be =
included with
the Home edition of XP. (The notebook I bought for work only came with=20
XP home :-/)
http://www.sbss.com.au/products/netfaq.htm#W2KService
What OS are you using. From what I can see so far you can only do=20
this with
Professional versions Windows??
Cheers,
Leif
Prasad Keskar wrote:
>I had a question about the "log on as" for the Java service wrapper. =
Whenever I run my app as a service using java service wrapper, it always =
uses "Local System" as the log on type. How to change this? I mean I =
want my app to run as a service with the administrator as the user (log =
on as should be administrator). I know I will need to supply the =
administrator user name & password to the service somehow for this =
requirement. Can someone help me with this? I will really appreciate any =
help.
> =20
>
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T=20
handheld. Power & Color in a compact size!=20
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|