[Bug 1678] New: Insufficient privileges to chroot() on AIX
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Dec 1 18:41:44 EST 2009
https://bugzilla.mindrot.org/show_bug.cgi?id=1678
Summary: Insufficient privileges to chroot() on AIX
Product: Portable OpenSSH
Version: 5.3p1
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: major
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: cristi.terpea at fortech.ro
Created an attachment (id=1735)
--> (https://bugzilla.mindrot.org/attachment.cgi?id=1735)
truss log on AIX 6.1
I tested openssh-5.3p1 on 3 machines:
AIX ... 1 5 004036AA4C00
AIX ... 3 5 0040D7CB4C00
AIX ... 1 6 0003EADAD300
on each of them I got the same result:
...
debug3: safely_chroot: checking '/home/test'
Changed root directory to "/home/test"
Failed to set process credentials
.. then it quits.
I attached the truss log from AIX 6.1 (truss_log.txt)
I also attached the fix that worked for me (this code was posted
already in https://bugzilla.mindrot.org/attachment.cgi?id=1669 ). I
call setpcred before chroot.
Already posted this on
https://bugzilla.mindrot.org/show_bug.cgi?id=1567 but had no reply.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list