J Moore wrote:

As I was inching my way along, testing as I go, I noticed something odd.

/usr/local/sbin/testsaslauthd -u user -p password

This test worked on the first user id and pw I tried, so I assumed saslauthd was working correctly. Later, while troubleshooting a stubborn issue, I tried it with another userid and password, and got the following result:

B14xVu: Undefined variable.

where "B14xVu" is a fragment of the password. The full password was:
V$B14xVu

So, you entered:
  /usr/local/sbin/testsaslauthd -u <username> -p V$B14xVu
, which was subject to parameter substitution.

This is how most, if not all, shells work.

I would guess you're using bash, so
  man bash
would be a good idea.

Look for "parameter substitution".

/Alexander

Reply via email to