Mark is correct; I was thinking of "shutdown -h now"... And I was comparing
that to "vmcp log".

The issue was that everyone was saying "just give the user sudo vmcp",
without any qualification to it, and the OP was new to sudo, and so might
not realize that he needed to further restrict the command to limit what the
user could get away with.

-- 
Robert P. Nix | Sr It Systems Engineer |  Systems Maintenance Services
507-284-0844 | [email protected]
Mayo Clinic| 200 First Street SW | Rochester, MN 55905
http://www.mayoclinic.org  | http://www.facebook.com/MayoClinic  |
http://www.youtube.com/mayoclinic  | http://twitter.com/mayoclinic




On 10/31/13 12:09 PM, "Mauro Souza" <[email protected]> wrote:

> Ok, got it...
> But if in /etc/sudoers you specify that the client can only run "/sbin/vmcp
> QUERY", this won't be a problem...
> 
> 
> Mauro
> http://mauro.limeiratem.com - registered Linux User: 294521
> Scripture is both history, and a love letter from God.
> 
> 
> 2013/10/31 Mark Post <[email protected]>
> 
>>>>> On 10/31/2013 at 12:54 PM, Mauro Souza <[email protected]> wrote:
>>> You cannot issue SHUTDOWN unless your virtual machine has class A.
>> 
>> He was referring to the Linux shutdown command, not CP.
>> 
>> 
>> Mark Post
>> 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to