Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@jboss-as bin]# ls -hall /etc/jboss-as/standalone/
- total 40K
- drwxrwxr-x. 2 root jboss-as 4.0K Apr 17 15:56 .
- drwxr-xr-x. 4 root root 4.0K Apr 17 15:56 ..
- -rw-------. 1 jboss-as jboss-as 787 Apr 17 15:48 application-roles.properties
- -rw-------. 1 jboss-as jboss-as 813 Apr 17 15:48 application-users.properties
- -rw-------. 1 jboss-as jboss-as 2.0K Apr 17 15:48 logging.properties
- -rw-------. 1 jboss-as jboss-as 837 Apr 17 15:48 mgmt-users.properties
- -rw-rw-r--. 1 jboss-as jboss-as 11K Apr 17 15:51 standalone-web.xml
- -rw-rw-r--. 1 jboss-as jboss-as 1.5K Apr 17 15:48 standalone.xml
- [root@jboss-as bin]# ./add-user.sh
- What type of user do you wish to add?
- a) Management User (mgmt-users.properties)
- b) Application User (application-users.properties)
- (a):
- Enter the details of the new user to add.
- Realm (ManagementRealm) :
- Username : test
- Password :
- Re-enter Password :
- About to add user 'test' for realm 'ManagementRealm'
- Is this correct yes/no? yes
- Added user 'test' to file '/etc/jboss-as/standalone/mgmt-users.properties'
- Added user 'test' to file '/etc/jboss-as/domain/mgmt-users.properties'
- [root@jboss-as bin]# ls -hall /etc/jboss-as/standalone/
- total 44K
- drwxrwxr-x. 2 root jboss-as 4.0K Apr 17 15:57 .
- drwxr-xr-x. 4 root root 4.0K Apr 17 15:56 ..
- -rw-------. 1 jboss-as jboss-as 787 Apr 17 15:48 application-roles.properties
- -rw-------. 1 jboss-as jboss-as 813 Apr 17 15:48 application-users.properties
- -rw-------. 1 jboss-as jboss-as 2.0K Apr 17 15:48 logging.properties
- -rw-------. 1 jboss-as jboss-as 875 Apr 17 15:57 mgmt-users.properties
- -rw-------. 1 root root 837 Apr 17 15:57 mgmt-users.properties.bak
- -rw-rw-r--. 1 jboss-as jboss-as 11K Apr 17 15:51 standalone-web.xml
- -rw-rw-r--. 1 jboss-as jboss-as 1.5K Apr 17 15:48 standalone.xml
Add Comment
Please, Sign In to add comment