...
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 |
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 | ||
---|---|---|
| ||
Access to the |
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
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.
...