Well, technically, hcp doesn't care if you're root. It uses some device nodes in /dev to communicate with CP. If those are writable by the user, he can issue commands via hcp.
So your best bet is to protect: cpcmd -> cpint8 cpint0 cpint220 cpint8 cpmon -> cpint220 > -----Original Message----- > From: Ferguson, Neale [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 9:55 AM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] CP Commands from Linux > > > Be aware that you need to be root to issue CP commands via > hcp. You wouldn't > want the average joe to issue the logoff command would you? > > Neale > > -----Original Message----- > There's a package called cpint, which contains a program > called hcp. This > does what you want. > > > -----Original Message----- > > Is there a method of issuing CP commands > via program > > or Rexx (Regina) command from Linux? Seems like an obvious thing to > > want to do... TIA. >
