Resetting the Admin Password

KB Home   |   Resetting the Admin Password

Tips on how to reset the built-in ‘admin’ password for:



PaperCut MF or NG

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.

To change/reset the password manually (not via the web interface), firstly shutdown the 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.

For example, change:

   admin.password=HASH\:316e2407fd6ea316527a9fe08f3edf8a

To something like this:

   admin.password=mypassword

This allows you to set a password in cleartext. Save and close the file, then start the 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.

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.

Using SSO and having problems?

If you’re using PaperCut’s 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



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.



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” 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 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.

Categories: Troubleshooting


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