You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2017/11/14 14:47:00 UTC

[jira] [Closed] (DAEMON-86) [daemon] procrun --User and --Password options do not work

     [ https://issues.apache.org/jira/browse/DAEMON-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas closed DAEMON-86.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.2

> [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
>             Fix For: 1.0.2
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)