Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Changing the username and password

Excerpt

The default administration user name and password for the Geronimo Administration Console and command line deployment tool is system and manager respectively. You can change these defaults

directly from the Administration Console by accessing Security -> Console Realm and change the user name and password from the Console Realm Users portlet. See Administering security for details.

Alternatively, you can make the same changes by editing the users.properties and groups.properties files, both located in the <geronimo_home>/var/security directory.

Note
titleImportant

Access to the <geronimo_home>/var/security directory should be appropriately secured. Different operating systems offer different alternatives to securing files and directories. Most cases would involve restricting permission to a specific user groups.

Passwords in users.properties file are encrypted by the server. Passwords can be changed using the Geronimo Administration Console. They can also be changed using a text editor. While the server is stopped, simply edit the users.properties file. The password(s) will be encrypted the next time the server is started.

...

By editing the properties files

Open the <geronimo_home>/var/security/groups.properties file and edit the contents of this file. Add any username that you require and save the file.

No Format
borderStylesolid
titlegroups.properties
admin=user1,user2

Next, open the <geronimo_home>/var/security/users.properties file. You can change the password for the existing system account and/or add new users. When adding a new user, the username has to be the same as the one added to the groups.properties file.

No Format
borderStylesolid
titleusers.properties
user1=password1
user2=password2

In this example, two users have been added, user1 and user2 and the default system account has been deleted. Both user1 and user2 can access the console and the command line deployment tools.

...