| Summary: | Post 4.2 RELEASE errata problem about password_format problem and libdescrypt | ||
|---|---|---|---|
| Product: | Base System | Reporter: | akenaton <akenaton> |
| Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.2-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->feedback This seems to be fixed in more recent releases. Can you confirm? State Changed From-To: feedback->closed Reported fixed, and no feedback in months. |
crypt_get_format() return des everytime ... and it's the same if I put :passwd_format=md5:\ in login.conf. So it seems I have the inverse problem of the errata for 4.2. (Using crypt_set_format("md5"); works so I can generate md5 password ...) but doesn't seems to be my default. , Something strange if I run ls /usr/lib/libcrypt.so lrwxrwxrwx 1 root wheel - 14 Nov 23 20:02 /usr/lib/libcrypt.so@ -> libdescrypt.so Why is this file is linked to des, if 4.2 is md5 enable by default ?? Handbooks says: If you have installed the DES-capable crypt library libdescrypt (e.g. by installing the "crypto" distribution), then which password format will be used for new passwords is controlled by the ``passwd_format'' login capability in /etc/login.conf, which takes values of either ``des'' or ``md5''. See the login.conf(5) manpage for more information about login capabilities. This doesn't works. Fix: none except manually link to the others libraries . How-To-Repeat: Just install with crypto to have ssh... This bug seems to be a problem in installation, choosing crypto at install seems to link libdescrypt by default (this was normal in old freebsd installation but shouldn't now) , which is not said when installing, and breaks all the mechanism gived by login.conf to switch to another crypt mode.