*Mark I absolutely CANNOT FIND the config.xml file after looking all over for it. Any solutions?*
On Thu, Sep 6, 2018 at 9:55 PM Mark Waite <[email protected]> wrote: > The file jenkins.exe.config controls the way Windows executes the program > "jenkins.exe". It does not store the global Jenkins configuration. > > The global Jenkins configuration (including the <useSecurity> setting) is > stored in a file named "config.xml". The file that needs to be modified is > not named "jenkins.exe.config", it is named "config.xml". > > If you search your file system (Windows search, or with a find command) > for a file which contains the text "<useSecurity>true</useSecurity>" and is > named "config.xml", that is the file. A file of any other name won't do. > Adding the text to any other file won't do. > > All the best! > Mark Waite > > > On Thu, Sep 6, 2018 at 7:59 PM Steve Burrus <[email protected]> wrote: > >> Mark here is what I have in my "C:\MyJenkins\jenkins.exe.config" >> file.Here is what I have inside the file : >> <configuration> >> <runtime> >> <generatePublisherEvidence enabled="false"/> >> </runtime> >> <startup> >> <supportedRuntime version="v4.0" /> >> <supportedRuntime version="v2.0.50727" /> >> </startup> >> </configuration> >> Now should I put that <useSecurity></useSecurity> line in THIS file, and >> if so where? >> >> >> On Thu, Sep 6, 2018 at 8:09 PM Mark Waite <[email protected]> >> wrote: >> >>> It depends on how you are running Jenkins. >>> >>> If you are running Jenkins from a command line using the war file, like: >>> >>> C:\Users\Mark\my-jenkins> java -jar jenkins.war >>> >>> then the Jenkins HOME directory is placed in the ".jenkins" subdirectory >>> of your home directory. In my case, that means I have: >>> >>> C:\Users\Mark\.jenkins\config.xml >>> >>> that contains the line '<useSecurity>true</useSecurity>' >>> >>> If you are running Jenkins as configured with the MSI installer, then >>> the file is: >>> >>> C:\Program Files (x86)\Jenkins\config.xml >>> >>> If you've modified your installation by setting a value for JENKINS_HOME >>> before starting Jenkins, then that is where it was placed. >>> >>> If none of those match your installation, please describe in more detail >>> how you have installed Jenkins on your Windows 10 machine. >>> >>> Mark Waite >>> >>> On Thu, Sep 6, 2018 at 5:03 PM Steve Burrus <[email protected]> >>> wrote: >>> >>>> *I'm sorry but I can't find that config.xml file in my Windows 10 >>>> enterprise system. How exactly can I get to it? I have ON the setting >>>> "Show Hidden Files and Folders". * >>>> >>>> >>>> >>>> *On Thu, Sep 6, 2018 at 4:55 PM Mark Waite <[email protected] >>>> <[email protected]>> wrote:* >>>> >>>>> >>>>> *https://stackoverflow.com/questions/6988849/how-to-reset-jenkins-security-settings-from-the-command-line >>>>> <https://stackoverflow.com/questions/6988849/how-to-reset-jenkins-security-settings-from-the-command-line> >>>>> * >>>>> >>>>> >>>>> *On Thu, Sep 6, 2018 at 1:04 PM Steve Burrus <[email protected] >>>>> <[email protected]>> wrote:* >>>>> >>>>>> *I keep on disinstalling/reinstaling Jenkins because of my forgetting >>>>>> wh at my login information is. I have read that my password is stored >>>>>> in a >>>>>> "secrets" file but I haven't been able to access it yet. Can someone help >>>>>> me with this?* >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> * -- You received this message because you are subscribed to the >>>>>> Google Groups "Jenkins Users" group. To unsubscribe from this group and >>>>>> stop receiving emails from it, send an email to >>>>>> [email protected] >>>>>> <[email protected]>. To view this discussion >>>>>> on >>>>>> the web visit >>>>>> https://groups.google.com/d/msgid/jenkinsci-users/CABinwmWNORhXwDUEg1oE87-Bog4ZA6aCzfG3uzj3QjMJZKmSdw%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CABinwmWNORhXwDUEg1oE87-Bog4ZA6aCzfG3uzj3QjMJZKmSdw%40mail.gmail.com?utm_medium=email&utm_source=footer>. >>>>>> For more options, visit https://groups.google.com/d/optout >>>>>> <https://groups.google.com/d/optout>. * >>>>> >>>>> >>>>> >>>>> >>>>> * -- You received this message because you are subscribed to the >>>>> Google Groups "Jenkins Users" group. To unsubscribe from this group and >>>>> stop receiving emails from it, send an email to >>>>> [email protected] >>>>> <[email protected]>.* >>>> >>>> * To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtE6a0dVkMFMXWKM4O3i_snowSzcT%3D79SnDJ4CxLdVN3ow%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtE6a0dVkMFMXWKM4O3i_snowSzcT%3D79SnDJ4CxLdVN3ow%40mail.gmail.com?utm_medium=email&utm_source=footer>.* >>>> >>>> >>>>> * For more options, visit https://groups.google.com/d/optout >>>>> <https://groups.google.com/d/optout>.* >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Jenkins Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/CABinwmU6LigSKmYkjCZKVmT%3Dsh0idB4iweVapX8i53Hk11Q9nw%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/jenkinsci-users/CABinwmU6LigSKmYkjCZKVmT%3Dsh0idB4iweVapX8i53Hk11Q9nw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFS6tZBqAdUvekjs75%3DEsWbPKgCWZPAP8a92iJ6pNLPmA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFS6tZBqAdUvekjs75%3DEsWbPKgCWZPAP8a92iJ6pNLPmA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CABinwmUN9Jp%2BJfsEdS_y7wfddxztu_i834d1OzkC24bKPRR2JA%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CABinwmUN9Jp%2BJfsEdS_y7wfddxztu_i834d1OzkC24bKPRR2JA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG0e8QcJDC8Dnm6B3T9%2BRiGy4%2B-T1vTRevp_pOD1HfOnA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG0e8QcJDC8Dnm6B3T9%2BRiGy4%2B-T1vTRevp_pOD1HfOnA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABinwmUZRz%3DafsaQ3N%2BvxeZVOJ40iNpQdQN50awMqqan9vZtEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
