Use the unixODBC Driver Manager or the Sybase iAnywhere Driver Manager to encrypt passwords on UNIX platform.
# odbcinst -i -s -f dsn template file
where dsn template file is the complete path to the Adaptive Server ODBC datasource template file.
[sampledsn] Description=Sybase ODBC Data Source UserID=sa Password=
Driver=Adaptive Server Enterprise Server=sampleserver Port=4100 Database=pubs2 UseCursor=1 EncryptPassword=1