An easy way: test it...
Or, less dangerous:
   SET PRIVCLASS * =A
   Q COMMAND SHUTDOWN
   SET PRIVCLASS * RESET
It should tell: SHUTDOWN     IBMCLASS=NONE

2007/11/6, Hughes, Jim <[EMAIL PROTECTED]>:
>
> I want to change the SHUTDOWN command privclass to Z and Z only.  Here
> are my commands followed by the responses.
>
> cp query cpcmd shutdown
> Command: SHUTDOWN
>   Status:        Enabled    Not Silent
>   IBM Class:     A          PrivClasses: A
>   CMDBK Address: 00A50140   Entry Point: HCPSHUTD
> Ready; T=0.01/0.01 10:44:12
>
>
> cp modify command shutdown ibmclass * privclass z
> Ready; T=0.01/0.01 10:44:20
>
> cp query cpcmd shutdown
> Command: SHUTDOWN
>   Status:        Enabled    Not Silent
>   IBM Class:     A          PrivClasses: Z
>   CMDBK Address: 00A50140   Entry Point: HCPSHUTD
> Command: ------------
>   Status:        Enabled    Not Silent
>   IBM Class:     A          PrivClasses: A
>   CMDBK Address: 1AD767F0   Entry Point: HCPSHUTD
> Ready; T=0.01/0.01 10:44:24
>
> Will users with CLASS A still be able to issue the SHUTDOWN command??
> The second half of the QUERY CPCMD SHUTDOWN shows IBM CLASS A and
> Privclasses A.
>
> I must confess I am confused with the responses to the QUERY CPCMD
> SHUTDOWN command.
>
> Thanks.
>
> ____________________________
> Jim Hughes
> 603-271-5586
> "There's no sense in being precise when you don't even know what you're
> talking about."
> John von Neumann
>



-- 
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to