IBM Support

SI66239 - SP/QP2USER2-MSGCPF2217 MULTIPLE "NOT AUTHORIZED TO USER PROF

PTF Cover Letter


PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

SP/QP2USER2-MSGCPF2217 MULTIPLE "NOT AUTHORIZED TO USER PROF


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED      PTF/FIX  LEVEL

TYPE PROGRAM  REL  NUMBER   MIN/MAX  OPTION
---- -------- ---  -------  -------  ------
PRE  5770SS1  710  SI47043   00/00    0000
DIST 5770SS1  710  SI59637   NONE     0033
DIST 5770999  710  MF48294   00/00    0000



NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels.  This PTF may be a prerequisite
for future PTFs.  By applying this PTF you authorize and agree to the
foregoing.

This PTF is subject to the terms of the license agreement which
accompanied, or was contained in, the Program for which you are obtaining
the PTF.  You are not authorized to install or use the PTF except as part
of a Program for which you have a valid Proof of Entitlement.

SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.

The applicable license agreement may have been provided to you in printed
form and/or may be viewed using the Work with Software Agreements (WRKSFWAGR)
CL command.





APAR Error Description / Circumvention

-----------------------------------------------
After applying one of the following PASE PTFs: SI63976 (7.3),
SI63977 (7.2), or SI63978 (7.1) and one of the following SSH
PTFs: SI63656 (7.2+) or SI63657 (7.1), you may notice CPF2217
messages in the SSHD job log and Authority Failure (AF) entries
in the audit journal, trying to read information from the QSYS
user profile.

CORRECTION FOR APAR SE68378 :
-----------------------------
This is caused by a combination of code changes to allow
per-user PASE shell options as well as changes in SSH to allow
it to consider "system directories" to be owned by QSYS in
addition to QSECOFR. The changes in SSH require getting the UID
for QSYS using the getpwnam() PASE API. With the changes in PASE
to get the user's shell, the PASE code will call an API to
retrieve the shell information from the user profile. If the
user does not have *READ authority to the user profile, it will
trigger a CPF2217, but be ignored. In addition, if authority
failure auditing is enabled an AF record will be sent to the
audit log.

Previously, if the user did not have *READ authority to the user
profile, getpwnam() and getpwuid() would not trigger any error
or authority failure but instead return only the user name, user
id, and primary group id. The code has been updated to only
retrieve the user's shell if the user has *READ authority to the
user profile.

CIRCUMVENTION FOR APAR SE68378 :
--------------------------------
None.


Activation Instructions


None.




Special Instructions


********************************************************************
THE FOLLOWING ARE SUPERSEDED SPECIAL INSTRUCTIONS. IF THE SUPERSEDED
PTF HAS ALREADY BEEN APPLIED AND ITS SPECIAL INSTRUCTION FOLLOWED,
IT IS NOT NECESSARY TO FOLLOW THAT SPECIAL INSTRUCTION AGAIN.
********************************************************************

SPECIAL INSTRUCTIONS FOR SUPERSEDED PTF SI47190 :
=================================================

After applying this PTF, it is advised to restart any active
applications which may have already had an activation of the QP2USER2
service program prior to the application of this PTF.


Default Instructions

THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
   SI65978      OSP-PASE-INCORROUT getpwuid/getpwent do not return valid pw_
   SI63978      PASE INTERNAL MAINTENACE
   SI59636      OSP-DB Internal maintenance
   SI47190      SP/QP2USER2-Incorrect handling of errno in MSGCPFB41F.
   SI36967      OSP-INCORROUT PASE for i program may end prematurely
   SI62567      PASE - Add Qp2GetShell/Qp2SetShell internal APIs

Summary Information

System..............................i
Models..............................
Release.............................V7R1M0
Licensed Program...............5770SS1
APAR Fixed..........................View details for APAR SE68378
Superseded by:......................
Recompile...........................N
Library.............................QSYS
MRI Feature ........................NONE
Cum Level...........................NONE


System i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG15V","label":"PTF Cover Letters - OS\/400 General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R1M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16D","label":"PTF Cover Letters - IBM i 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R1M0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 November 2017