Or you can try this command:
su - postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_unified_configurations set cfg_value='20' where cfg_name='MaxLoginSession'\"" su - postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set lock_status=0, passwd_wrong_count=0, first_flg=0, last_modify_time='1517323095', PASSWD='fc5578f20cc26f334a0399d4352a794bd1caac3afc87f1faedcae3ca5c01c5fd', SALT='8EO6m2LxacWubqw4' where user_name='admin'\""