| | 1 | = Opal HowTo Manage Users |
| | 2 | |
| | 3 | Tags: [[Opal]] [[DataShield]] [[HowTo]] [[User Management]] |
| | 4 | |
| | 5 | == Overview |
| | 6 | |
| | 7 | Opal users and passwords are stored in a file within the {{{OPAL_HOME/conf}}} directory. However, I have been told that it is also possible for users to authenticate using a certificate. However, this may not work when Opal is accessed through a Pound reverse proxy. |
| | 8 | |
| | 9 | == Procedure |
| | 10 | |
| | 11 | 1. Go to directory {{{/local/opal-server{version}/tools/}}} and run the command {{{./shiro-hasher -p}}} |
| | 12 | 2. Enter your password and copy the has string that is displayed by the tool. |
| | 13 | 3. Edit the file {{{/local/opal_home/conf/shiro.ini}}} |
| | 14 | 4. In the section for usernames create a line for the new user in the format: |
| | 15 | {{{ |
| | 16 | {username}={password hash from above},{role} |
| | 17 | }}} |
| | 18 | |
| | 19 | [[BackLinks]] |