Automic Community

How to use the uniencryptpwd command and generate a password encrypted for UVMS

  • 1.  How to use the uniencryptpwd command and generate a password encrypted for UVMS

    Posted 08-28-2017 09:36 AM
    This command is used to enter the encrypted password of a user account and to code it in a reusable file by a command "uniadd LOGIN".

    The uniencryptpwd command is located in: <Install dir> \ univiewer_server \ <node_name> \ app \ bin of your UVMS. 

    Syntax: uniencryptpwd <password> <destination file>

    Command uniadd : Uniadd LOGIN -login <val> -pwd <val> -pwdfile <val> -type <val> -label <val> -override -offline
    • Encrypt the password in the UVMS
    . ./unienv.ksh
    ./uniencryptpwd admin01 /tmp/test.txt

    Create a UVMS user (admin01) using the encrypted password file : 
    ./uniadd LOGIN -login admin01 -pwdfile /tmp/test.txt

    Your user is now created and the password is encrypted

    For example, you can export objects from a node using this file:

    ./uniexp -area X -company UNIV66 -file /tmp/test.xml -login admin01 -pwdfile /tmp/test.txt -mshost vmstl32c58cst01 -msport 4184 -node jcbtestb -full