search for: ln_round

Displaying 1 result from an estimated 1 matches for "ln_round".

Did you mean: ln_rounds
2005 Jan 07
0
Missing functionality in Blowfish for crypt(3)
...ified libcrypt instead. The diff is pasted below strictly for viewing, the uuencoded version is below that. In libcrypt, I use getpwuid_r(getuid(), ...) to get a pwd structure for the current user. Then, I use login_getpwclass() to return a login_cap_t structure and use login_getcapnum(...,"ln_rounds",...) to grab the value for ln_rounds in login.conf. The only drawback to this approach is that it grabs the entry for the current user rather than the user whose password is being changed. Normally, root will have a higher cost value than normal users. If root changes a user's pass...