mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
Merge remote-tracking branch 'origin/GP-5107_ghidracadabra_PR-7106_gemesa_bsim-ctl-changeauth-pki'
This commit is contained in:
commit
ce7f3ec0b4
@ -185,6 +185,13 @@
|
||||
authentication. This command does not affect the presence or absence of passwords
|
||||
or Distinguished Names for existing users.</P>
|
||||
|
||||
<P><SPAN class="command"><STRONG>--cafile </STRONG></SPAN><SPAN class=
|
||||
"emphasis"><EM></cafile-path></EM></SPAN> - specifies an absolute path to a
|
||||
certificate authority file and is required for <SPAN class=
|
||||
"command"><STRONG>--auth pki</STRONG></SPAN>. This file should contain the
|
||||
certificates the PostgreSQL server will use to authenticate in PEM format
|
||||
concatenated together.</P>
|
||||
|
||||
<P><SPAN class="command"><STRONG>--dn </STRONG></SPAN><SPAN class=
|
||||
"emphasis"><EM><distinguished-name></EM></SPAN> - specifies the Distinguished Name for the admin
|
||||
user and is required for <SPAN class="command"><STRONG>--auth pki</STRONG></SPAN>.</P>
|
||||
|
@ -97,7 +97,7 @@ public class BSimControlLaunchable implements GhidraLaunchable {
|
||||
Set.of(DN_OPTION);
|
||||
private static final Set<String> DROPUSER_OPTIONS = Set.of();
|
||||
private static final Set<String> CHANGEAUTH_OPTIONS = Set.of(
|
||||
AUTH_OPTION, NO_LOCAL_AUTH_OPTION, CAFILE_OPTION);
|
||||
AUTH_OPTION, DN_OPTION, NO_LOCAL_AUTH_OPTION, CAFILE_OPTION);
|
||||
|
||||
//@formatter:on
|
||||
private static final Map<String, Set<String>> ALLOWED_OPTION_MAP = new HashMap<>();
|
||||
@ -1435,7 +1435,7 @@ public class BSimControlLaunchable implements GhidraLaunchable {
|
||||
" stop </datadir-path> [--force]\n" +
|
||||
" adduser </datadir-path> <username> [--dn \"<distinguished-name>\"]\n" +
|
||||
" dropuser </datadir-path> <username>\n" +
|
||||
" changeauth </datadir-path> [--auth|-a pki|password|trust] [--noLocalAuth] [--cafile \"</cacert-path>\"]\n" +
|
||||
" changeauth </datadir-path> [--auth|-a pki|password|trust] [--noLocalAuth] [--cafile \"</cacert-path>\"] [--dn \"<distinguished-name>\"]\n" +
|
||||
" resetpassword <username>\n" +
|
||||
" changeprivilege <username> admin|user\n" +
|
||||
"\n" +
|
||||
|
Loading…
Reference in New Issue
Block a user