You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Gael Marziou (JIRA)" <ji...@apache.org> on 2006/09/14 12:01:22 UTC
[jira] Created: (DAEMON-86) [daemon] procrun --User and --Password
options do not work
[daemon] procrun --User and --Password options do not work
----------------------------------------------------------
Key: DAEMON-86
URL: http://issues.apache.org/jira/browse/DAEMON-86
Project: Commons Daemon
Issue Type: Bug
Environment: Windows 2000, 2003, XP
Reporter: Gael Marziou
Using procrun as tomcat5.exe from Tomcat 5.5.17 distribution, I am unable to set the user and password using --User and --Password options, I searched in the mailing list archive, it seems that several users have experienced this bug but no solution was provided.
I tried the following:
tomcat5.exe //US// --User tomcat_usr --Password 1qaZ2wsX
tomcat5.exe //US// --User "tomcat_usr" --Password "1qaZ2wsX"
tomcat5.exe //US// --User .\tomcat_usr --Password 1qaZ2wsX
tomcat5.exe //US// --User ".\tomcat_usr" --Password 1qaZ2wsX
tomcat5.exe //US// --User ".\tomcat_usr" --Password "1qaZ2wsX"
I tested both on Windows 2000, 2003 and XP, no luck.
I also tried using environment variables PR_USER and PR_PASSWORD: also not working.
Finally, I ended up by using the "sc" command but it does not exist in Windows 2000.
sc config tomcat5 obj= .\tomcat_usr password= "1qaZ2wsX"
So having these options working would help automatic deployment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (DAEMON-86) [daemon] procrun --User and
--Password options do not work
Posted by "Gael Marziou (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DAEMON-86?page=comments#action_12434638 ]
Gael Marziou commented on DAEMON-86:
------------------------------------
Moreover, it is not possible to change the user/password from the procrun monitor GUI.
Test scenario:
- launch tomcat5w.exe
- click on the "Log On" tab
- set user/password
- click OK
- launch again tomcat5w.exe
- click on the "Log On" tab
==> Your settings have not been taken into account and the service is still using local system account.
> [daemon] procrun --User and --Password options do not work
> ----------------------------------------------------------
>
> Key: DAEMON-86
> URL: http://issues.apache.org/jira/browse/DAEMON-86
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Windows 2000, 2003, XP
> Reporter: Gael Marziou
>
> Using procrun as tomcat5.exe from Tomcat 5.5.17 distribution, I am unable to set the user and password using --User and --Password options, I searched in the mailing list archive, it seems that several users have experienced this bug but no solution was provided.
> I tried the following:
> tomcat5.exe //US// --User tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User "tomcat_usr" --Password "1qaZ2wsX"
> tomcat5.exe //US// --User .\tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password "1qaZ2wsX"
> I tested both on Windows 2000, 2003 and XP, no luck.
> I also tried using environment variables PR_USER and PR_PASSWORD: also not working.
> Finally, I ended up by using the "sc" command but it does not exist in Windows 2000.
> sc config tomcat5 obj= .\tomcat_usr password= "1qaZ2wsX"
> So having these options working would help automatic deployment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Closed: (DAEMON-86) [daemon] procrun --User and --Password
options do not work
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DAEMON-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mladen Turk closed DAEMON-86.
-----------------------------
Resolution: Fixed
Fixed in the SVN.
Although the correct usage is --ServiceUser and --ServicePassword
The binaries can be found at:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/res/procrun/
> [daemon] procrun --User and --Password options do not work
> ----------------------------------------------------------
>
> Key: DAEMON-86
> URL: https://issues.apache.org/jira/browse/DAEMON-86
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Windows 2000, 2003, XP
> Reporter: Gael Marziou
>
> Using procrun as tomcat5.exe from Tomcat 5.5.17 distribution, I am unable to set the user and password using --User and --Password options, I searched in the mailing list archive, it seems that several users have experienced this bug but no solution was provided.
> I tried the following:
> tomcat5.exe //US// --User tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User "tomcat_usr" --Password "1qaZ2wsX"
> tomcat5.exe //US// --User .\tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password "1qaZ2wsX"
> I tested both on Windows 2000, 2003 and XP, no luck.
> I also tried using environment variables PR_USER and PR_PASSWORD: also not working.
> Finally, I ended up by using the "sc" command but it does not exist in Windows 2000.
> sc config tomcat5 obj= .\tomcat_usr password= "1qaZ2wsX"
> So having these options working would help automatic deployment
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (DAEMON-86) [daemon] procrun --User and
--Password options do not work
Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DAEMON-86?page=comments#action_12450478 ]
Mladen Turk commented on DAEMON-86:
-----------------------------------
The --User and --Password as well as GUI for setting them are not used for setting the user for the service.
The are used for setting the username other the local system if the Run mode is 'java' not 'jvm'.
In case of the 'java' run mode, procrun launches the separate process (java.exe) and the username
used for running this process is the one supplied with those directives.
For setting the user used for running the service itself use the Control Pannel.
> [daemon] procrun --User and --Password options do not work
> ----------------------------------------------------------
>
> Key: DAEMON-86
> URL: http://issues.apache.org/jira/browse/DAEMON-86
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Windows 2000, 2003, XP
> Reporter: Gael Marziou
>
> Using procrun as tomcat5.exe from Tomcat 5.5.17 distribution, I am unable to set the user and password using --User and --Password options, I searched in the mailing list archive, it seems that several users have experienced this bug but no solution was provided.
> I tried the following:
> tomcat5.exe //US// --User tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User "tomcat_usr" --Password "1qaZ2wsX"
> tomcat5.exe //US// --User .\tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password "1qaZ2wsX"
> I tested both on Windows 2000, 2003 and XP, no luck.
> I also tried using environment variables PR_USER and PR_PASSWORD: also not working.
> Finally, I ended up by using the "sc" command but it does not exist in Windows 2000.
> sc config tomcat5 obj= .\tomcat_usr password= "1qaZ2wsX"
> So having these options working would help automatic deployment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (DAEMON-86) [daemon] procrun --User and
--Password options do not work
Posted by "Gael Marziou (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DAEMON-86?page=comments#action_12450714 ]
Gael Marziou commented on DAEMON-86:
------------------------------------
Thanks Mladen for this explanation, it covers my initial report but it does not cover the test scenario I put in my 2nd comment:
- launch tomcat5w.exe
- click on the "Log On" tab
- set user/password
- click OK
- launch again tomcat5w.exe
- click on the "Log On" tab: your settings have not been saved.
So, here I think that even if I did not understand the purpose of this user/password at first, there is still a problem with the GUI which does not save my settings.
Do you want me to open a new bug?
> [daemon] procrun --User and --Password options do not work
> ----------------------------------------------------------
>
> Key: DAEMON-86
> URL: http://issues.apache.org/jira/browse/DAEMON-86
> Project: Commons Daemon
> Issue Type: Bug
> Environment: Windows 2000, 2003, XP
> Reporter: Gael Marziou
>
> Using procrun as tomcat5.exe from Tomcat 5.5.17 distribution, I am unable to set the user and password using --User and --Password options, I searched in the mailing list archive, it seems that several users have experienced this bug but no solution was provided.
> I tried the following:
> tomcat5.exe //US// --User tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User "tomcat_usr" --Password "1qaZ2wsX"
> tomcat5.exe //US// --User .\tomcat_usr --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password 1qaZ2wsX
> tomcat5.exe //US// --User ".\tomcat_usr" --Password "1qaZ2wsX"
> I tested both on Windows 2000, 2003 and XP, no luck.
> I also tried using environment variables PR_USER and PR_PASSWORD: also not working.
> Finally, I ended up by using the "sc" command but it does not exist in Windows 2000.
> sc config tomcat5 obj= .\tomcat_usr password= "1qaZ2wsX"
> So having these options working would help automatic deployment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org