TRYTONDPASSFILE is not correctly read when it does not end with new line
When the password file does not end with an empty line, the last carachter of the password is removed.
If we execute:
echo -n 'password' > /etc/trytond-pass/default
TRYTONDPASSFILE=/etc/trytond-pass/default trytond-admin -d <dbname> -p
The resulting password will be 'passwor' instead of 'password'