|
Dan Bale wrote:
Our new users have *PUBLIC *CHANGE by default. I wonder if you've changed a parameter somewhere?
Or a security setting perhaps? Is there something that would change how the system creates the authority on the user msgq when the user profile is created?
Although, I have to wonder. If users' message queues are set to *PUBLIC:*CHANGE, doesn't that mean that anyone can delete messages from someone else's message queue? That could not be a good thing.
According to support, MAIL_MANN uses SNDPGMMSG, and the help on SNDPGMMSG
> does not show any of the authority requirements as SNDMSG.
I created two new *USER test profiles, TEST1 & TEST2, with no special authorities; user *MSGQ set to *PUBLIC:*USE. I signed on as TEST1, and ran this program:
Pgm SNDPGMMSG MSG('this is just a test') + TOMSGQ(QUSRSYS/TEST2) Endpgm
It ran fine, and sent the message to TEST2.
Good luck! Sean
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.