I know you fully specified the path when you gave the lpstat command, but I
wonder if that's enough.
There are two versions of lpstat.  One is just a stub.
See
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.aopu000/lps.htm
where it says: " /bin/lpstat is a stub command. z/OSĀ® UNIX recognizes it
but does not support its function. To make sure that you run
/usr/lpp/Printsrv/lpstat, do either of these:

   - Use the mv command to rename /bin/lpstat.
   - Change your PATH environment variable so that /usr/lpp/Printsrv comes
   before /bin."

You can also run the command /usr/lpp/Printsrv/samples/aopcheck
That's a Rexx exec.  Check the comments inside.  If you use all default
names then you can run aopcheck with no arguments.  If you use non-default
names, you can pass your names as arguments or you can customize aopcheck
to use the defaults configured for your site.
The aopcheck checks certain permissions bits and owner and group names and
gives messages that contain the phrase "but should be" if anything isn't as
expected.
You might want to see
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.aops000/custmap.htm
and review the steps in the Infoprint Server Customization Roadmap to make
sure you didn't skip something.

For more than that, you should open a case with IBM for the Infoprint
Server component of z/OS.
Start here: https://www.ibm.com/support/home/

--Roger





On Mon, Oct 5, 2020 at 10:28 AM David Spiegel <[email protected]>
wrote:

> Hi,
> A user issues /usr/lpp/Printsrv/bin/lpstat -a
> and gets:
> /usr/lpp/Printsrv/bin: FSUM9209 cannot execute: reason code = 0b1b011f:
> EDC5111I Permission denied.
>
> The user is COnnected to AOPADMIN which is PErmitted UPDATE to PRINTSRV
> AOP.ADMINISTRATOR
>
> Here are the z/OS V2.3 Files and Permission Bits:
> Dir    755   rwxr-xr-x  2020-02-06 04:35 OMVSKERN         8192  .
> Dir    755   rwxr-xr-x  2020-02-06 04:35  OMVSKERN         8192 ..
> Syml   777   rwxrwxrwx  2019-04-29 20:56  OMVSKERN           42 .aokcinit
> Syml   777   rwxrwxrwx  2019-04-29 20:56  OMVSKERN           48 afpxpcl
> Syml   777   rwxrwxrwx  2019-04-29 21:24  OMVSKERN           34 afpxpcld
> Syml   777   rwxrwxrwx  2019-04-29 20:56  OMVSKERN           48 afpxpdf
> Syml   777   rwxrwxrwx  2019-04-29 21:24  OMVSKERN           34 afpxpdfd
> Syml   777   rwxrwxrwx  2019-04-29 20:56  OMVSKERN           46 afpxps
> Syml   777   rwxrwxrwx  2019-04-29 21:24  OMVSKERN           33 afpxpsd
> File   755   rwxr-xr-x  2017-05-24 17:40  OMVSKERN      2162688 aopchkinv
> File   700   rwx------  2017-05-24 17:40  OMVSKERN        20480 aopcstart
> File   700   rwx------  2020-02-06 04:34  OMVSKERN      3911680 aopd
> File   754   rwxr-xr--  2020-02-06 04:34  OMVSKERN        32768 aopdemon
> File   700   rwx------  2020-02-06 04:34  OMVSKERN       286720 aopippd
> File   750   rwxr-x---  2020-02-06 04:34  OMVSKERN      3092480 aoplogu
> File   700   rwx------  2020-02-06 04:34  OMVSKERN       299008 aoplpd
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      5517312 aopmig
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      2396160 aopmigns
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      1810432 aopmigpw
> File   700   rwx------  2020-02-06 04:34  OMVSKERN       176128 aopnetd
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      3534848 aopoms
> File   700   rwx------  2020-02-06 04:35  OMVSKERN      3198976 aopoutd
> File   755   rwxr-xr-x  2020-02-06 04:35  OMVSKERN      2408448 aopsapd
> File   750   rwxr-x---  2020-02-06 04:35  OMVSKERN      2625536 aopsend
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN         5292 aopsetup
> File   700   rwx------  2020-02-06 04:35  OMVSKERN      1835008 aopssid
> File   755   rwxr-xr-x  2017-05-24 17:40  OMVSKERN        13399 aopstart
> File   755   rwxr-xr-x  2020-02-06 04:35  OMVSKERN      2625536 aopstat
> File   750   rwxr-x---  2020-02-06 04:35  OMVSKERN      2519040 aopstop
> File   700   rwx------  2020-02-06 04:35  OMVSKERN       847872 aopsubd
> File   700   rwx------  2020-02-06 04:35  OMVSKERN       663552 aopwsmd
> File   750   rwxr-x---  2017-05-24 17:40  OMVSKERN      2633728 aopxcfut
> File   700   rwx------  2020-02-06 04:35  OMVSKERN       532480 aopxfd
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      3358720 cancel
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      2871296 filter
> File   750   rwxr-x---  2020-02-06 04:34  OMVSKERN      2072576 hinvu
> Dir    755   rwxr-xr-x  2017-05-24 17:40  OMVSKERN         8192 IBM
> File   750   rwxr-x---  2017-05-24 17:40  OMVSKERN         1760
> loadprinterinventory
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      3383296 lp
> File   755   rwxr-xr-x  2020-02-06 04:34  OMVSKERN      3444736 lpstat
> File   750   rwxr-x---  2020-02-06 04:35  OMVSKERN      3608576 pidu
> File   755   rwxr-xr-x  2017-05-24 17:40  OMVSKERN         2223 remotexf
> File   750   rwxr-x---  2020-02-06 04:35  OMVSKERN      2023424 sdbu
>
> Other than giving the users UID(0), how can I allow them to issue LPSTAT
> (and other commands) successfully?
>
> Thanks and regards,
> David
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to