bugzilla-daemon at bugzilla.mindrot.org
2009-Dec-01 07:41 UTC
[Bug 1678] New: Insufficient privileges to chroot() on AIX
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.
bugzilla-daemon at bugzilla.mindrot.org
2009-Dec-01 07:42 UTC
[Bug 1678] Insufficient privileges to chroot() on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1678 --- Comment #1 from Cristi Terpea <cristi.terpea at fortech.ro> 2009-12-01 18:42:20 EST --- Created an attachment (id=1736) --> (https://bugzilla.mindrot.org/attachment.cgi?id=1736) patch for setpcred with chroot -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Dec-01 07:42 UTC
[Bug 1678] Insufficient privileges to chroot() on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1678
Cristi Terpea <cristi.terpea at fortech.ro> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cristi.terpea at fortech.ro
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Dec-07 00:08 UTC
[Bug 1678] Insufficient privileges to chroot() on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1678
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Darren Tucker <dtucker at zip.com.au> 2009-12-07
11:08:26 EST ---
Closing as duplicate since all the relevant info is in #1567.
*** This bug has been marked as a duplicate of bug 1567 ***
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-16 05:49 UTC
[Bug 1678] Insufficient privileges to chroot() on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1678
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> 2010-04-16 15:49:42
EST ---
Mass move of bugs RESOLVED->CLOSED following the release of
openssh-5.5p1
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.