• Subject: Re: Modifying CHGPWD -Reply
  • From: DAsmussen@xxxxxxx
  • Date: Sun, 5 Oct 1997 17:35:12 -0400 (EDT)

Matthias,

In a message dated 97-10-04 20:49:40 EDT, you write:

> >Hope this finds everyone well after COMMON,  sounds like the problem is
>  >not the authority of the command but who is trying to run it... in your
case
>  >you must make sure the CL that you wrote is owned bu QSECOFR or a
>  >Group or User that has *SECADM , that is required to chg user profiles,
>  >after checking that make sure your program is running as user profile
>  >*owner not *user.... you can check this with DSPPGM and it can be
>  
>  Thanks for your suggestion.
>  Unfortunately it did not help. All objects used are owned by QSECOFR 
>  with PUBLIC(*USE). The CL is running as *OWNER.

OK, I've been quiet about this but, lacking a definitive response, I used
DSPCMD to see that the CPP for this command is hard-coded to QMNCGPWD in
QSYS.  You should (given enough authority) be able to change the command to
use either *LIBL or some other with the CHGCMD command.  You might want to
consider the little-known "product library" function of commands to point to
your desired library (appears either before or after "current" library, I
don't don't remember) and always before User Libraries.

HTH,

Dean Asmussen
Enterprise Systems Consulting, Inc.
Fuquay-Varina, NC  USA
E-Mail:  DAsmussen@AOL.COM

"The difference between genious and stupidity is that genious has its
limits." -- Anonymous
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.