mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GT-3640 added support for specifying user password for server add/reset
commands
This commit is contained in:
parent
796ad69cc0
commit
8f65942fd0
8 changed files with 191 additions and 47 deletions
|
@ -128,7 +128,7 @@ ghidra.repositories.dir=./repositories
|
|||
#
|
||||
# -d<ad_domain> : the Active Directory domain name. Example: "-dmydomain.com"
|
||||
#
|
||||
# -e<days> : specifies default password expiration time in days (-a0 mode only, default is 1-day)
|
||||
# -e<days> : specifies initial/reset password expiration time in days (-a0 mode only, default is 1-day, 0 = no expiration)
|
||||
#
|
||||
# -jaas <config_file> : specifies the path to the JAAS config file (when using -a4), relative
|
||||
# to the ghidra/server directory (if not absolute).
|
||||
|
|
|
@ -363,7 +363,7 @@ public key files may be made without restarting the Ghidra Server.
|
|||
Example: "-dmydomain.com"</LI>
|
||||
<br>
|
||||
<LI><typewriter>-e#</typewriter><br>Allows the reset password expiration to be set to a
|
||||
specified number of days (default is 1-day).</LI>
|
||||
specified number of days (default is 1-day). A value of 0 prevents expiration.</LI>
|
||||
<br>
|
||||
<LI><typewriter>-jaas <config_file></typewriter><br>Specifies the path to the JAAS
|
||||
config file (when using -a4), relative to the ghidra/server directory (if not absolute).
|
||||
|
@ -581,9 +581,9 @@ to run as <i>root</i> and monitor/manage the Java process.
|
|||
|
||||
<PRE>
|
||||
svrAdmin [<server-root-path>]
|
||||
[-add <user_sid>]
|
||||
[-add <user_sid> [--p]]
|
||||
[-remove <user_sid>]
|
||||
[-reset <user_sid>]
|
||||
[-reset <user_sid> [--p]]
|
||||
[-dn <user_sid> "<user_dn>"]
|
||||
[-admin <user_sid> "<repository_name>"]
|
||||
[-list]
|
||||
|
@ -605,11 +605,14 @@ to run as <i>root</i> and monitor/manage the Java process.
|
|||
be permitted. If Ghidra password authentication is used [<typewriter>-a0</typewriter>], the
|
||||
initial password is set to <typewriter>changeme</typewriter>. This password must be changed by
|
||||
the user within 24-hours to avoid its expiration (password expiration period can be extended as
|
||||
a server option, see <typewriter>-e</typewriter> <a href="#serverOptions">server option</a>).
|
||||
a server option, see <typewriter>-e</typewriter> <a href="#serverOptions">server option</a>).
|
||||
Alternatively, the initial password may be specified by including the optional <typewriter>--p</typewriter>
|
||||
parameter which will prompt for an initial password.
|
||||
<br><br>
|
||||
Example:
|
||||
Examples:
|
||||
<PRE>
|
||||
svrAdmin -add mySID
|
||||
svrAdmin -add mySID --p
|
||||
</PRE>
|
||||
</LI>
|
||||
<LI><typewriter>-remove</typewriter> <b>(Removing a User)</b><br>
|
||||
|
@ -627,10 +630,13 @@ to run as <i>root</i> and monitor/manage the Java process.
|
|||
If a user's password has expired, or has simply been forgotten, the password may be reset
|
||||
to <typewriter>changeme</typewriter>. After resetting, this password must be changed by the user within
|
||||
24-hours to avoid its expiration (password expiration period can be extended as a server option).
|
||||
Alternatively, the new password may be specified by including the optional <typewriter>--p</typewriter>
|
||||
parameter which will prompt for an initial password.
|
||||
<br><br>
|
||||
Example:
|
||||
<PRE>
|
||||
svrAdmin -reset mySID
|
||||
svrAdmin -reset mySID --p
|
||||
</PRE>
|
||||
</LI>
|
||||
<LI><typewriter>-dn</typewriter> <b>(Assign User's Distinguished Name)</b><br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue