Guest User

Untitled

a guest
Sep 28th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. [root@jboss-as bin]# ls -hall /etc/jboss-as/standalone/
  2. total 40K
  3. drwxrwxr-x. 2 root jboss-as 4.0K Apr 17 15:56 .
  4. drwxr-xr-x. 4 root root 4.0K Apr 17 15:56 ..
  5. -rw-------. 1 jboss-as jboss-as 787 Apr 17 15:48 application-roles.properties
  6. -rw-------. 1 jboss-as jboss-as 813 Apr 17 15:48 application-users.properties
  7. -rw-------. 1 jboss-as jboss-as 2.0K Apr 17 15:48 logging.properties
  8. -rw-------. 1 jboss-as jboss-as 837 Apr 17 15:48 mgmt-users.properties
  9. -rw-rw-r--. 1 jboss-as jboss-as 11K Apr 17 15:51 standalone-web.xml
  10. -rw-rw-r--. 1 jboss-as jboss-as 1.5K Apr 17 15:48 standalone.xml
  11. [root@jboss-as bin]# ./add-user.sh
  12.  
  13. What type of user do you wish to add?
  14. a) Management User (mgmt-users.properties)
  15. b) Application User (application-users.properties)
  16. (a):
  17.  
  18. Enter the details of the new user to add.
  19. Realm (ManagementRealm) :
  20. Username : test
  21. Password :
  22. Re-enter Password :
  23. About to add user 'test' for realm 'ManagementRealm'
  24. Is this correct yes/no? yes
  25. Added user 'test' to file '/etc/jboss-as/standalone/mgmt-users.properties'
  26. Added user 'test' to file '/etc/jboss-as/domain/mgmt-users.properties'
  27. [root@jboss-as bin]# ls -hall /etc/jboss-as/standalone/
  28. total 44K
  29. drwxrwxr-x. 2 root jboss-as 4.0K Apr 17 15:57 .
  30. drwxr-xr-x. 4 root root 4.0K Apr 17 15:56 ..
  31. -rw-------. 1 jboss-as jboss-as 787 Apr 17 15:48 application-roles.properties
  32. -rw-------. 1 jboss-as jboss-as 813 Apr 17 15:48 application-users.properties
  33. -rw-------. 1 jboss-as jboss-as 2.0K Apr 17 15:48 logging.properties
  34. -rw-------. 1 jboss-as jboss-as 875 Apr 17 15:57 mgmt-users.properties
  35. -rw-------. 1 root root 837 Apr 17 15:57 mgmt-users.properties.bak
  36. -rw-rw-r--. 1 jboss-as jboss-as 11K Apr 17 15:51 standalone-web.xml
  37. -rw-rw-r--. 1 jboss-as jboss-as 1.5K Apr 17 15:48 standalone.xml
Add Comment
Please, Sign In to add comment