Resetting the Admin Password

KB Home   |   Resetting the Admin Password

Main.ResettingTheAdminPassword History

Hide minor edits - Show changes to output

Deleted line 6:
November 22, 2019, at 12:14 AM by timg - Formatting
Added lines 3-13:
Tips on how to reset the built-in 'admin' password for:
*[[#mfng|PaperCut MF or NG]]
*[[#mpwithoutngmf|Mobility Print (without NG/MF)]]
*[[#mpwithngmf|Mobility Print (with NG/MF)]]


[[#mfng]]

\\
\\

Added lines 42-43:
[[#mpwithoutngmf]]
Changed lines 45-46 from:
to:
\\
Added lines 67-69:
[[#mpwithngmf]]

\\
November 20, 2019, at 04:52 AM by timg - Updated with Mobility Print Instructions (including with and without ng/mf)
Added lines 31-32:
\\
Changed lines 39-40 from:
'''Windows:'''  Open the following file in a text editor: @@[app_dir]/data/config/admin.auth@@ and modify the line @@AdminPassword@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password. Make sure that you keep the quotes around the new password text.
to:
'''Windows:'''  Open the following file in a text editor: @@[app_dir]/data/config/admin.auth@@ and modify the line @@[=AdminPassword=]@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password. Make sure that you keep the quotes around the new password text.
Changed lines 43-44 from:
   AdminPassword = "HASH:$2a$19$rM.4Wt7RvBYZUr8Volbdgu3SQCoTqJ.Y7EjPuZGiWjQUfdW125.5O"
to:
   [=AdminPassword=] = "HASH:$2a$19$rM.4Wt7RvBYZUr8Volbdgu3SQCoTqJ.Y7EjPuZGiWjQUfdW125.5O"
Changed lines 47-48 from:
   AdminPassword = "mypassword"
to:
   [=AdminPassword=] = "mypassword"
Added lines 53-64:
\\

!!Mobility Print (with NG/MF)

The Mobility Print admin interface will let you log in with any PaperCut NG/MF account that is either:
*A built in admin account (e.g. 'admin' account) in PaperCut NG/MF
*A user account configured in PaperCut NG/MF with the "Access Options Section" [[https://www.papercut.com/support/resources/manuals/ng-mf/common/topics/sys-admin-access.html|admin right]] configured.

You can manage the usernames that have access, through PaperCut NG/MF. To reset the password for those accounts managed by PaperCut NG/MF:
*For the built in 'admin' account, follow the PaperCut NG/MF instructions above.
*For internal users in PaperCut NG/MF, follow the [[https://www.papercut.com/kb/Main/ResettingInternalUserPassword|Resetting Internal User Password instructions]]
*For regular domain / user directory accounts in PaperCut NG/MF, you'll need to reset the password in your user directory system - for example Active Directory or LDAP manager.
November 20, 2019, at 04:42 AM by timg - Added Mobility Print instructions
Added lines 3-4:
!!PaperCut MF or NG
Changed lines 27-28 from:
!! Using SSO and having problems?
to:
!!!Using SSO and having problems?
Added lines 30-51:

!!Mobility Print (without NG/MF)

Mobility has a built in administrator account (called "admin"). This is the only account you can use to administer your Mobility Print installation, and currently you cannot alter the username. The password is set during the setup wizard when Mobility was first installed.  This account is ''not'' related to the domain administrator or other OS level account.

To change/reset the password manually:

'''Windows:'''  Open the following file in a text editor: @@[app_dir]/data/config/admin.auth@@ and modify the line @@AdminPassword@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password. Make sure that you keep the quotes around the new password text.

For example, change:

    AdminPassword = "HASH:$2a$19$rM.4Wt7RvBYZUr8Volbdgu3SQCoTqJ.Y7EjPuZGiWjQUfdW125.5O"

To something like this:

    AdminPassword = "mypassword"

This allows you to set a password in cleartext.  Save and close the file, then try logging into the Mobility Print interface again. The password in the text file will automatically be re-hashed the next time you log in.

->Tip: If you’re running on Windows, and the admin.auth file is locked, you may need to run Notepad with Administrator privileges - Find ‘notepad’ in your Start menu, then right-click and select ‘Run as Administrator’. When notepad opens, use the ‘File -> Open’ menus from that instance of notepad to open and edit the file above.

July 03, 2017, at 05:26 PM by timg - Formatting
Changed line 7 from:
'''Mac:'''  Ensure you are logged in with an administrator account and browse to Applications > PaperCut NG/MF > server  then right click the server.properties file and select open with [=TextEdit=].  Then change the admin.password entry as shown below.
to:
'''Mac:'''  Ensure you are logged in with an administrator account and browse to @@[=/Applications/PaperCut [NG/MF]/server/=]@@  then right click the server.properties file and select open with [=TextEdit=].  Then change the admin.password entry as shown below.
June 16, 2017, at 11:31 PM by Brad Stone - Added instructions for changing on Mac
Changed line 7 from:
'''Mac:'''  Ensure you are logged in with an administrator account and browse to Applications > PaperCut NG/MF > server  then right click the server.properties file and select open with TextEdit.  Then change the admin.password entry as shown below.
to:
'''Mac:'''  Ensure you are logged in with an administrator account and browse to Applications > PaperCut NG/MF > server  then right click the server.properties file and select open with [=TextEdit=].  Then change the admin.password entry as shown below.
June 16, 2017, at 11:29 PM by Brad Stone - Include instructions for Mac server
Changed lines 5-9 from:
To change/reset the password manually (not via the web interface), Shutdown the [[https://www.papercut.com/products/ng/manual/common/topics/tools-start-stop-app.html | Application Server service]], open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
to:
To change/reset the password manually (not via the web interface), firstly shutdown the [[https://www.papercut.com/products/ng/manual/common/topics/tools-start-stop-app.html | Application Server service]] then:

'''Mac:'''  Ensure you are logged in with an administrator account and browse to Applications > PaperCut NG/MF > server  then right click the server.properties file and select open with TextEdit.  Then change the admin.password entry as shown below.

'''Windows:'''  Open
the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
May 16, 2017, at 03:15 PM by 207.173.252.92 - Added video article
Added lines 16-17:

(:youtube belrsMy06QU:)
April 26, 2017, at 08:59 PM by BRIAN - The manual page for the start/stop app server link was wrong.. probably since we updated the manual
Changed lines 5-6 from:
To change/reset the password manually (not via the web interface), Shutdown the [[https://www.papercut.com/products/ng/manual/apdx-tools-start-stop-app.html | Application Server service]], open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
to:
To change/reset the password manually (not via the web interface), Shutdown the [[https://www.papercut.com/products/ng/manual/common/topics/tools-start-stop-app.html | Application Server service]], open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
Changed line 15 from:
This allows you to set a password in cleartext.  Save and close the file, then start the [[https://www.papercut.com/products/ng/manual/apdx-tools-start-stop-app.html | Application Server service]] back up again. Wait a minute or two, and when you log back into the admin interface, go to [@Options -> Advanced -> Reset admin password@] to change the password back to the hashed (i.e. encrypted) format.
to:
This allows you to set a password in cleartext.  Save and close the file, then start the [[https://www.papercut.com/products/ng/manual/common/topics/tools-start-stop-app.html | Application Server service]] back up again. Wait a minute or two, and when you log back into the admin interface, go to [@Options -> Advanced -> Reset admin password@] to change the password back to the hashed (i.e. encrypted) format.
June 26, 2015, at 06:20 AM by peterf - Included a mention of starting the Application Server up again.
Changed lines 5-6 from:
To change/reset the password manually (not via the web interface), Shutdown the [[https://www.papercut.com/products/ng/manual/apdx-tools-start-stop-app.html | application server service]], open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
to:
To change/reset the password manually (not via the web interface), Shutdown the [[https://www.papercut.com/products/ng/manual/apdx-tools-start-stop-app.html | Application Server service]], open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
Changed line 15 from:
This allows you to set a password in cleartext.  Then when you log back into the admin interface go to [@Options -> Advanced -> Reset admin password@] to change the password back to the hashed (i.e. encrypted) format.
to:
This allows you to set a password in cleartext.  Save and close the file, then start the [[https://www.papercut.com/products/ng/manual/apdx-tools-start-stop-app.html | Application Server service]] back up again. Wait a minute or two, and when you log back into the admin interface, go to [@Options -> Advanced -> Reset admin password@] to change the password back to the hashed (i.e. encrypted) format.
April 23, 2014, at 05:13 PM by TimG - Added note about running Notepad as admin
Added lines 17-18:
->Tip: If you’re running on Windows, and the server.properties file is locked, you may need to run Notepad with Administrator privileges - Find ‘notepad’ in your Start menu, then right-click and select ‘Run as Administrator’. When notepad opens, use the ‘File -> Open’ menus from that instance of notepad to open and edit the file above.
Added lines 17-20:
!! Using SSO and having problems?

If you're using PaperCut's [[https://www.papercut.com/products/ng/manual/ch-sso.html|SSO]] functionality you may want to login manually rather than use SSO. To do this, simply change the url from [@http://servername:9191/admin@] to [@http://servername:9191/admin/nosso@]

Changed lines 5-6 from:
To change/reset the password manually (not via the web interface), open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
to:
To change/reset the password manually (not via the web interface), Shutdown the [[https://www.papercut.com/products/ng/manual/apdx-tools-start-stop-app.html | application server service]], open the following file in a text editor: @@[app_dir]/server/server.properties@@ and modify the line @@admin.password=@@.  If the password has been set by the system it will be prefixed with @@HASH:@@ - remove this when manually entering a plain text password.
Changed lines 3-4 from:
PaperCut has a built in administrator account (called "admin") that is available even if a connection to the domain / directory cannot be established.  The default username for this account is @@admin@@, and the password is set during the setup wizard when the system was first installed.
to:
PaperCut has a built in administrator account (called "admin") that is available even if a connection to the domain / directory cannot be established.  The default username for this account is @@admin@@, and the password is set during the setup wizard when the system was first installed.  This account is ''not'' related to the domain administrator account.
Deleted lines 2-3:
!PaperCut NG & PaperCut ChargeBack
Deleted lines 16-23:
!PaperCut Quota

PaperCut Quota and ChargeBack use domain / directory administrator accounts for authentication.  To change your password, use your standard domain / directory tools.




Changed line 18 from:
''Categories:'' [[!Troubleshooting]], [[!PaperCutNG]], [[!PaperCutQuota]]
to:
''Categories:'' [[Category.Troubleshooting|+]]
Changed line 20 from:
[-Keywords: change, password, reset, login, forgot, forgotten, forget, lost, missing, default password -]
to:
[-Keywords: change, password, reset, login, forgot, forgotten, forget, lost, missing, default password-]
Changed lines 5-6 from:
PaperCut NG has a built in administrator account (called "admin") that is available even if a connection to the domain / directory cannot be established.  The default username for this account is @@admin@@, and the password is set during the setup wizard when the system was first installed.
to:
PaperCut has a built in administrator account (called "admin") that is available even if a connection to the domain / directory cannot be established.  The default username for this account is @@admin@@, and the password is set during the setup wizard when the system was first installed.
Added line 10:
Added line 12:
Added line 14:
Changed lines 14-15 from:
This allows you to set a password in cleartext.  Then when you log back into the admin interface go to [@Options -> Advanced -> Reset admin password@] to change the password back to the hashed format.
to:
This allows you to set a password in cleartext.  Then when you log back into the admin interface go to [@Options -> Advanced -> Reset admin password@] to change the password back to the hashed (i.e. encrypted) format.
Changed lines 3-4 from:
!PaperCut NG
to:
!PaperCut NG & PaperCut ChargeBack
Changed lines 16-17 from:
!PaperCut Quota and ChargeBack
to:
!PaperCut Quota
Changed line 27 from:
[-Keywords: change, password, reset, login, forgot, forgotten, forget, default password -]
to:
[-Keywords: change, password, reset, login, forgot, forgotten, forget, lost, missing, default password -]

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on November 22, 2019, at 12:16 AM
Printable View   |   Article History   |   Edit Article