| Summary: | session.c: don't chdir() after chroot() if chroot_path==pw->pw_dir | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | konrad rzentarzewski <kondi> | ||||||
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | CC: | djm, dtucker | ||||||
| Priority: | P2 | ||||||||
| Version: | 5.0p1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 1452 | ||||||||
| Attachments: |
|
||||||||
|
Description
konrad rzentarzewski
2008-04-28 22:28:58 AEST
Created attachment 1524 [details]
suppress chdir failure warning when ChrootDirectory set
Patch for OpenBSD
Created attachment 1525 [details]
suppress chdir failure warning when ChrootDirectory set (portable)
portable OpenSSH patch
Please try one of the attached patches. They simply suppress the warning when ChrootDirectory is set and the login does not require a home directory. Comment on attachment 1524 [details]
suppress chdir failure warning when ChrootDirectory set
You misspelled "homdir", but otherwise ok
This has now been applied and will be in the next release (5.1) and tomorrow's snapshots (http://www.mindrot.org/openssh_snap/). Thanks. Mass update RESOLVED->CLOSED after release of openssh-5.1 |