TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10passwordresetdb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10passwordresetdb [2017/09/26 00:37] – [Options] Scott Cunliffecli:tmss10passwordresetdb [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== TMSS10Password Reset =====+====== TMSS10PasswordResetDB ======
  
 ===== Synopsis ===== ===== Synopsis =====
 +
 +''TMSS10PasswordReset [-i ] [-h database directory] [-p new password] [-u user for reset]''
  
 ===== Description ===== ===== Description =====
 +
 +Allows a user with administrative rights to reset a users password and restore user access when access has been revoked due to multiple consecutive failed login attempts.
  
 ===== Options ===== ===== Options =====
  
-''TMSS10PasswordReset [-i ] [-h database directory] [-p new password] [-u user for reset]''+  * ''-h'' Database home directory (default location C:\Program Files\TapeTrack\TapeTrack Framework Server\var\db). 
 +  * ''-i'' interactive mode true. 
 +  * ''-p'' New password value. 
 +  * ''-u'' User to reset. 
 ===== Notes ===== ===== Notes =====
 +
 +To execute ''TMSS10PasswordResetDB'' automatically in interactive mode, run ResetPassword.bat from the TapeTrack install directory TapeTrack\TapeTrack Framework Server\script.
 +
 +{{:cli:cli_reset_password_bat.png}}
 +
 +On execution of ResetPassword.bat you will be presented with a Command Prompt window asking you if you wish to proceed, press any key to continue or press Ctrl+C (or close window) to exit script before any changes are made.
 +
 +{{cli:cli_resetpassword_batch.png}}
 +
 +Continuing the script will open a further Command Prompt and you will be asked to input User (User-ID) to reset the password for.  Entering EXIT instead of a User-ID will exit the script without making any changes.
 +
 +Enter Password value for the User and hit Enter on the keyboard.  Entering EXIT instead of a Password will exit the script without making any changes.
 +
 +{{cli:cli_reset_password_bat_values.png}}
 +
 +<note tip>User name and Password values shown are for illustration only.  Replace with your required values.
 +
 +Ensure you enter the User-ID correctly as the script will execute with any values but will not update the database if no matching User-ID is found.</note>
 +
 +
 +If you find that the User's Password is not updating, running the command 
 +<code>TMSS10PasswordResetDB -i -h "%TMSS10DB%</code>
 + from ResetPassword.bat manually in an Administrative Command Prompt will allow you to view any error messages from the execution of the program without the window automatically closing on completion.
 +
 +
 +
  
 ==== Technical Support ==== ==== Technical Support ====
  
-The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.+The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the [[common:support_details|Accessing Technical Support]] page.
  
 ==== Exit Statuses ==== ==== Exit Statuses ====
Line 23: Line 57:
 ==== Example ==== ==== Example ====
  
-<- cli:introduction|Command Line Utilities^ master:starting|Getting Started ^ ->+Running ''TMSS10PasswordReset.bat'' to invoke ''TMSS10PasswordResetDB''
 + 
 +<code> 
 +ZBT001N-11:05:41 TMSS10PasswordResetDB (c) GazillaByte 1998-2017 
 +ZBT002N-11:05:41 Compiled Sep  3 2017 at 17:56:27 
 +ZBT010I-11:05:41 this program will reset the password of a User 
 +ZBT006N-11:05:41 Running Under Windows 10 (build 15063 10.00) on platform x64 
 +ZBT000N-11:05:41 Host is Little Endian 
 +ZBT000N-11:05:41 Host is ASCII 
 +ZBT000N-11:05:41 Binary is 64 bit 
 +ZBT000N-11:05:41 Current Working Directory is C:\Program Files\TapeTrack\TapeTrack Framework Server\scripts 
 +ZBT004N-11:05:41 Today is Tuesday, September 26, 2017 
 +ZBT005N-11:05:41 Running on Laptop_Senior 
 +ZBT006N-11:05:41 Process ID 19500 
 +ZBT000N-11:05:41 Parsing and validating command arguments 
 +ZBT002N-11:05:41 Program Options: 
 +ZBT002N-11:05:41        (h) Database Home Directory=C:\Program Files\TapeTrack\TapeTrack Framework Server\var\db 
 +ZBT002N-11:05:41        (i) Interactive=true 
 +ZBT002N-11:05:41        (p) New Password= 
 +ZBT002N-11:05:41        (u) User for reset= 
 +ZBT000N-11:05:41 Arguments parsed and validated with 0 errors 
 +Please enter a value for UserID (or EXIT): dcumming 
 +Please enter a value for Password (or EXIT): newpassword 
 +ZBT000N-11:05:41 Opening Database Environment 
 +ZBT000N-11:05:41 Database Environment Open Status: BDB0062 Successful return: 0 
 +ZBT000N-11:05:41 Database (Password Database) File(TMSS10.password) Open Status: BDB0062 Successful Return: 0 
 +ZBT000N-11:05:41 ---------------------------------User Data-------------------------------------------------- 
 +ZBT000N-11:05:41          Total Failed: 0 
 +ZBT000N-11:05:41   Total Failed (Full): 0 
 +ZBT000N-11:05:41        Last Failed IP: 
 +ZBT000N-11:05:41      Last Failed Time:   
 +ZBT000N-11:05:41 -------------------------------------------------------------------------------------------- 
 +</code> 
 + 
 +--> Changelog  
 + 
 + 
 +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10PasswordResetDB] 
 +<-- 
 +<- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10passwordresetdb.1506386262.txt.gz · Last modified: 2025/01/21 22:07 (external edit)