[Bug 261] AIX capabilities + port-aix.c cleanup

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 7 19:55:30 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=261





------- Additional Comments From janfrode at parallab.uib.no  2002-06-07 19:55 -------
Two things...

We should probably fail if it fails:

        if (setpcred (user, NULL))
                fatal("Failed to set AIX process credentials.");

and I'm a bit uncertain about the call to setpenv(). I think it does a
bit too much, and with the PENV_INIT it breaks sftp and it doesn't
manage to set the TERM correctly . The effect of calling setpenv() is
that various user environment variables are set up _and_ the user is
given his shell. I think we should just remove the call to setpenv().

Fixed patch attachment above this message..


  -jf



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list