|
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
|
|
From: Prasad K. <pra...@em...> - 2002-12-04 15:07:15
|
I took a look at the english documentation. It seems fine to me. But for =
try this new feature out, which files do I need to get from CVS. I tried =
to look at all the places & did not see any recent files.
Regards,
Prasad
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Wednesday, December 04, 2002 1:32 AM
To: wra...@li...
Subject: Re: [Wrapper-user] NT Service log on as
Prasad,
I think I got this implemented. Have tested it on a Windows 2000=20
Pro machine,
an XP Home machine, but still need to test on an XP Pro machine tonight. =
It is all
checked into CVS, so if you have the ability to check out the CVS=20
version, you
might want to give it a try.
Also, my machines are all in Japanese and I am trying to write the=20
English
documentation. If your machine is english, could you please check the=20
following
text and make sure that it is accurate for the english version of=20
Windows. Some
of the text may need to be changed slightly. (I got the text by=20
translating from
Japanese, so it may not be quite the same.:-)
Thanks,
Leif
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET=20
comprehensive development tool, built to increase your=20
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2002-12-05 02:04:05
|
Changes for this patch were in wrapper.c, wrapper.h, wrapper_win.c and
several
other files for docs. But because there have been several other changes
since the
last release, I would suggest doing a full checkout from CVS. Take a
look at
https://sourceforge.net/cvs/?group_id=39428
fot the anon CVS access string.
Cheers,
Leif
Prasad Keskar wrote:
>I took a look at the english documentation. It seems fine to me. But for try this new feature out, which files do I need to get from CVS. I tried to look at all the places & did not see any recent files.
>
>Regards,
>Prasad
>
>
>-----Original Message-----
>From: Leif Mortenson [mailto:le...@ta...]
>Sent: Wednesday, December 04, 2002 1:32 AM
>To: wra...@li...
>Subject: Re: [Wrapper-user] NT Service log on as
>
>
>Prasad,
> I think I got this implemented. Have tested it on a Windows 2000
>Pro machine,
>an XP Home machine, but still need to test on an XP Pro machine tonight.
> It is all
>checked into CVS, so if you have the ability to check out the CVS
>version, you
>might want to give it a try.
>
> Also, my machines are all in Japanese and I am trying to write the
>English
>documentation. If your machine is english, could you please check the
>following
>text and make sure that it is accurate for the english version of
>Windows. Some
>of the text may need to be changed slightly. (I got the text by
>translating from
>Japanese, so it may not be quite the same.:-)
>
>Thanks,
>Leif
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Microsoft Visual Studio.NET
>comprehensive development tool, built to increase your
>productivity. Try a free online hosted session at:
>http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Microsoft Visual Studio.NET
>comprehensive development tool, built to increase your
>productivity. Try a free online hosted session at:
>http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
|
|
From: Leif M. <le...@ta...> - 2002-12-03 23:29:26
|
Prasad Keskar wrote: >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? > There is currently no way of doing this from the conf file. Could you please post a feature request on this and I'll look into getting it implemented? That way you will be notified when the feature request is implemented :-) Thanks, Leif |
|
From: Leif M. <le...@ta...> - 2002-12-04 06:31:56
|
Prasad,
I think I got this implemented. Have tested it on a Windows 2000
Pro machine,
an XP Home machine, but still need to test on an XP Pro machine tonight.
It is all
checked into CVS, so if you have the ability to check out the CVS
version, you
might want to give it a try.
Also, my machines are all in Japanese and I am trying to write the
English
documentation. If your machine is english, could you please check the
following
text and make sure that it is accurate for the english version of
Windows. Some
of the text may need to be changed slightly. (I got the text by
translating from
Japanese, so it may not be quite the same.:-)
Thanks,
Leif
|