MTDATA – Phase Diagram Software from the National Physical Laboratory

 

 

 

Home 

News 

Products 


Training and Support 

FAQs 

Links 

Agents 

Other Services 

 

Services 

 

 

MODIFY_DATABASE

Function:

This command allows the user to alter the title and/or password of a chosen database. In order to be allowed to MODIFY a database password or title the user must first be able to provide the existing password.

Parameters:

database

password

new_password

title
Defaults:

database = (the last database referred to in a UTILITY command)

password = <""> 

Examples:

modify data=project5 pass="abcdef" new_pass="uvwxyz" !

modify title="New improved data" !

modify data=insecure pass="sbjksd" new=" " !

mod dat=mydata title="My data of 30/2/92" !

Parameter values:

DATABASE takes the value <"database name">

The DATABASE parameter is used to specify the name of the database to be modified either by changing its title or changing its password. Note that the database name should NOT be entered in quotes and must appear on the current active list (see STATISTICS command). If the MODIFY_DATA command is used without specifying a DATABASE name, an attempt will be made to modify the attributes of the last database referred to in a successfully executed UTILITY command.

PASSWORD takes the value <"database password">

The correct database password must be given, in quotes, following the PASSWORD parameter in order to MODIFY the password or the title of a password protected database. There is of course no need to use the PASSWORD parameter for databases which have no password protection.

NEW_PASSWORD   takes the value <"new database password">

Any new password which the user wishes to assign to the selected database must be given, in quotes, following the NEW_PASSWORD parameter. For the change to become effective the old PASSWORD (if one exists) must be given within the same MODIFY command. To remove all password protection from a database the NEW_PASSWORD should be blank. If the new database password is given in the form of a # character (hash) followed by a number, MTDATA will select its own password (which the user will not know) for the database. This circumvents the security problem of a password being echoed to the screen as it is set.

TITLE takes the values <"new database title">

If the user wishes to assign a new title to the selected database this should be entered, in quotes, following the TITLE parameter. For the change to become effective the database PASSWORD (if one exists) must be given within the same MODIFY command. The old title will then be overwritten. Note that the | character (vertical line) should not be entered in any database title as its use could restrict access to the database in question unless specifically authorised in the MTDATA permit file.


 

 

Updated 23 June 2010