Re: userdbpw/5.2 producing inconsistent result

2004-02-05 Thread W. Sierke
Thanks to anyone who bothered to answer my earlier question.

Unfortunately due to a problem related to the original reason for my
question, sendmail started rejecting messages and I've lost at least a few
hours worth of messages and if you replied I missed it.

In the meantime I've learned about adding SALT to passwords and realise that
the differing results from userdbpw weren't the source of my userdb problems
which is what originally led me to think that the password encryption might
have been at fault.


Thanks,

Wayne

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


userdbpw/5.2 producing inconsistent result

2004-02-04 Thread W. Sierke
# uname -mrsv
FreeBSD 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Wed Feb  4 05:44:41 CST 2004
root@:/usr/src/sys/i386/compile/LILLITH-IV  i386

# pkg_which /usr/local/sbin/userdbpw
courier-imap-2.2.1,1

Every time I run userdbpw it's generating a different result (for the same
supplied password). eg:

# foreach p ( password password password )
foreach? echo $p | userdbpw
foreach? end
fA8HQ5zWzV.fM
Vkedbdeq0kk7s
Lay1EhcWhup/s
#

Fear not if there's anything wrong with the above because I've tried it
manually with a variety of passwords and the result is the same (ie. the
results are not! the same).

# userdbpw
Password:
Reenter password:
wRkPrfxswnUGo
# userdbpw
Password:
Reenter password:
yTBnb7ab/N072

I was using this without issue on 4.8. Can anyone suggest anything I should
try/check or is it bug-hunting time?


Thanks,

Wayne

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]