bugzilla-daemon at mindrot.org
2002-Jun-21 21:51 UTC
[Bug 283] New: UsePrivilegeSeparation fails on AIX, Couldn't set usrinfo:
http://bugzilla.mindrot.org/show_bug.cgi?id=283
Summary: UsePrivilegeSeparation fails on AIX, Couldn't set
usrinfo:
Product: Portable OpenSSH
Version: -current
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: major
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: janfrode at parallab.uib.no
OpenSSH 3.3p1 fails on AIX5.1 with UsePrivilegeSeparation enabled. If the server
is running with '-d' the client prints /etc/motd and then dies with the
message:
Couldn't set usrinfo: Operation not permitted.
debug1: Calling cleanup 0x2002a5ec(0x20032b58)
debug1: Calling cleanup 0x2002a430(0x0)
Connection to en closed by remote host.
Connection to en closed.
Commenting out:
if (usrinfo(SETUINFO, cp, i) == -1)
fatal("Couldn't set usrinfo: %s",
strerror(errno));
from openbsd-compat/port-aix.c
The man-page for userinfo() states that:
"EPERM The Command parameter is set to SETUINFO, and the calling process
does
not have root user authority."
so I'm guessing the privilege separated OpenSSH tries to call this as a
normal
user (or the sshd user?).
-jf
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Possibly Parallel Threads
- [Bug 283] UsePrivilegeSeparation fails on AIX, Couldn't set usrinfo:
- News from AIX
- IRIX 6.5 patch for Compression with UsePrivilegeSeparation
- [Bug 230] New: UsePrivilegeSeparation turns off Banner.
- [Bug 259] New: UsePrivilegeSeparation crashed sshd under Linux 2.2
