On Mon, 5 Oct 2020 17:08:44 +0000, Jousma, David wrote:
>There is something besides just a permissions problem. Were there additional
>messages besides what you posted?
>
>bpxmtext 0b1b011f
>BPXPREXC 07/01/19
>JRExecNotRegFile: The filename specified on the exec is not a regular file
>
>Action: The exec service detected that the filename specified by the pathname
>argument is not a regular type file. Correct the pathname argument and
>resubmit the job.
>
I'm perplexed that the message reports:
A user issues /usr/lpp/Printsrv/bin/lpstat -a and gets:
/usr/lpp/Printsrv/bin: FSUM9209 cannot execute: reason code = 0b1b011f:
(which is not a regular type file but a directory) and not:
/usr/lpp/Printsrv/bin/lpstat: FSUM9209 ...
Is this as silly as a buffer overflow? Probe that with:
/./././usr/lpp/Printsrv/bin/lpstat
And try taking the path apart level by level:
ls -ld /usr/lpp/Printsrv/bin/lpstat
ls -ld /usr/lpp/Printsrv/bin
ls -ld /usr/lpp/Printsrv
ls -ld /usr/lpp
ls -ld /usr
ls -ld /
>-----Original Message-----
>From: David Spiegel
>Sent: Monday, October 5, 2020 12:28 PM
>
>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 urer is COnnected to AOPADMIN which is PErmitted UPDATE to PRINTSRV
>AOP.ADMINISTRATOR
>
What command produced the output below?
>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?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN