I have an /etc/sudoers entry like below %users ALL = NOPASSWD:/usr/bin/vmcp, /sbin/lstape The lstape command works but the vmcp command returns: Error: Could not open device /dev/vmcp: Permission denied
Any insight? Betsie Spann -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Michael MacIsaac Sent: Thursday, October 19, 2006 11:12 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: CP commands through a Web interface John, > Why not set up "sudo" for that? Yes, of course. Thanks. I added the following line to /etc/sudoers and that did it: %www ALL=NOPASSWD:/usr/bin/vmcp "Mike MacIsaac" <[EMAIL PROTECTED]> (845) 433-7061 ---------------------------------------------------------------------- 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