From Fedora Project Wiki

mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
# Above files still should be owned by <code>jboss-as</code> user
# Above files still should be owned by <code>jboss-as</code> user
}}
}}
{{admon/note|File permissions|As of version 7.1.0-3, jboss-as contains new way of creating backups for properties files introduced in master. This now leads to some permission changes. '''We're aware of that''' and a [https://github.com/jbossas/jboss-as/pull/2067 pull request was sent].}}
[[Category:JBoss_AS_test_cases]]
[[Category:JBoss_AS_test_cases]]

Latest revision as of 19:43, 17 April 2012

Description

Testing adding a new user which will be used to connect to the server management interface

Setup

Don't forget to install latest updates!

How to test

  1. Become root (if you don't do this - you get Permission Denied errors later)
  2. cd /usr/share/jboss-as/bin/
  3. ./add-user.sh
  4. Select Management User type (hit [Enter])
  5. Select ManagementRealm realm (hit [Enter])
  6. Select a username
  7. Select a password
  8. Re-type password

Expected Results

  1. A new entry with your user should be appended to /etc/jboss-as/standalone/mgmt-users.properties and /etc/jboss-as/domain/mgmt-users.properties files
  2. Above files still should be owned by jboss-as user



Note.png
File permissions
As of version 7.1.0-3, jboss-as contains new way of creating backups for properties files introduced in master. This now leads to some permission changes. We're aware of that and a pull request was sent.