If you don't have some sort of automation package or console package..... Create a CMS user with a profile exec that does:
signal shutdown guestname sleep 10 minutes force guestname immed sleep 10 secs xautolog guestname And give him the autolog rights to that machine. He doesn't need to know the password for this machine (which has CP authorization to do lots of bad things...) If you are not on VM, there may be times when the zLinux system crashes, that you have to have Operations boot the LPAR. Tom Duerbusch THD Consulting >>> Sue Sivets <[email protected]> 6/17/2009 2:31 PM >>> Is there any way to give a user the ability to shutdown and reboot a Suse z/linux system without giving him the root password? In simple terms, one of my users is asking for the root password so he can reboot the machine when he needs to because the project he's working on has crashed and generally caused a lot of problems. I found a couple of notes from 2007 that were about a shutdown userid on a Redhat system. Will something like that work on a Suse10 system, or is there a better way of accomplishing what I need? If it will work, can someone tell me what I need to do in order to make it work? I was thinking about using SU, but as far as I know, he would still need the root password, and then I'm back where I started. Is there a way to give him some kind of alternate root password that doesn't open up the whole ball of wax? If anyone has any other ideas, I would really like to hear them. I really don't want to give out the root password if I can avoid it. Thank you Sue -- Suzanne Sivets Systems Programmer Innovation Data Processing 275 Paterson Ave Little Falls, NJ 07424-1658 973-890-7300 Fax 973-890-7147 [email protected] ---------------------------------------------------------------------- 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 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
