Thanks – that worked, and I have managed to change the master password. On with 
the tutorials!

From: Christian Mueller 
Sent: Monday, April 4, 2016 1:03 PM
To: Peter Cooper 
Cc: [email protected] 
Subject: Re: [Geoserver-users] Cannot find Root/Master password

Ok, you tried to dump the master password.  

Obviously, the user owning the geoserver process has no linux  write 
permission. Try to dump on  /tmp/mymasterpw.txt

Cheers

On Mon, Apr 4, 2016 at 1:33 PM, Peter Cooper <[email protected]> wrote:

  Thanks Christian,
  I have tried that and all I can get is the response: 
“java.io.FileNotFoundException: {every filename I try}  (Permission denied)”
  Do I need to change some permissions somewhere?
  Peter

  From: Christian Mueller 
  Sent: Monday, April 4, 2016 12:21 PM
  To: Peter Cooper 
  Cc: [email protected] 
  Subject: Re: [Geoserver-users] Cannot find Root/Master password

  Hi Peter 

  Login as admin and go to Security-->Passwords. You can change the master pw. 
If you do not know the current master password, you can export it to a file.

  Cheers
  Christian

  On Mon, Apr 4, 2016 at 12:43 PM, Peter Cooper <[email protected]> wrote:

    I have recently installed GeoServer 2.8.3 on Tomcat7 on Ubuntu 14.04 LTS, 
alongside Apache2. I am new to Ubuntu, but GeoServer seems to work fine for me. 
I have admin access, and have changed the admin password.

    I am getting the message: “The master password for this server has not been 
changed from the default. It is highly recommended that you change it now”.

    According to the documentation there should be a file named 
security/masterpw.info where the master password is stored using plain text.  I 
cannot find that file, so I cannot find or change the master password. Among 
others, there are the following password-looking files in folder security:
      a.. masterpw.digest 
      b.. masterpw.xml 
      c.. masterpw/default/passwd
    I note a similar question on StackExchange: 
http://gis.stackexchange.com/questions/107265/geoserver-change-master-password-masterpw-info-missing.
 The answers (in late 2015) leave it up in the air, and there is no setting to 
"pipe the master password out to a file.

    When I installed Geoserver on Windows a few months ago, I managed to find 
the file and change the root password OK, but not this time.

    What can I do to find or change the root/master password?

    
------------------------------------------------------------------------------

    _______________________________________________
    Geoserver-users mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/geoserver-users






  -- 

  DI Christian Mueller MSc (GIS), MSc (IT-Security) 
  OSS Open Source Solutions GmbH





-- 

DI Christian Mueller MSc (GIS), MSc (IT-Security) 
OSS Open Source Solutions GmbH
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to