| Summary: | AuthorizedKeysFile assumes home directory access upon authentication | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Lester Barrows <barrows> |
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Lester Barrows
2002-10-11 06:10:24 AEST
AuthorizedKeysFile /etc/ssh/keys/%u does not access $HOME for me. oh, i see, auth.c uses realpath(pw->pw_dir) to compare it against the configured path. perhaps drop the check against homedir if realpath(pw->pw_dir) fails? I actually commented the test out and re-built OpenSSH last night. Although not an ideal fix, it seemed to work. Getting AFS to auth after that is another (unrelated) story, but this does solve the ssh part of the problem. Thanks! fixed in -current Mass change of RESOLVED bugs to CLOSED |