Administrator Guide : Using solidDB® data management tools : Entering password from a file
  
Entering password from a file
User identification information is typically entered as plain text, for example in the solidDB® startup command, and in the solidDB® data management tools. However, you can enter the password from a file. Entering the password from a file means that it cannot be seen by running the UNIX command ps.
The syntax is as follows:
command -x pwdfile:filename
where
command can be any of the following:
solcon
soldd
solexp
solid
solload
solloado
solsq
filename can be either absolute or relative to the working directory
Password file
In the file where the password is stored, the first character string ending at newline character is read and considered as the password. Preceding space and newline characters are ignored. If the password includes space or newline characters, it must be enclosed in single or double quotation marks. However, using quotation marks means that quotation mark and backslash characters that belong to the password must be escaped by a backslash character.
Examples
solsql -x pwdfile:userpwd "tcp solsrv 1313" dba solid -f -c soldb -x pwdfile:solpwd -U dba
See also
Using solidDB® data management tools