Hmm, I don't have to do "sudo lstape" for it to work but "sudo vmcp q v da" does work. Betsie
-----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Brad Hinson Sent: Thursday, October 19, 2006 3:23 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: CP commands through a Web interface I only get that message when I run '/usr/bin/vmcp' instead of 'sudo /usr/bin/vmcp' as the user. Is there anything weird in /etc/pam.d/sudo besides: #%PAM-1.0 auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth password required pam_stack.so service=system-auth session required pam_limits.so -- Brad Hinson <[EMAIL PROTECTED]> Technical Account Manager Red Hat, Inc. On Thu, 2006-10-19 at 14:01 -0700, Spann, Elizebeth (Betsie) wrote: > crw------- > Didn't think I'd have to change it. Root can use it. > Betsie > > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of > Post, Mark K > Sent: Thursday, October 19, 2006 1:58 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: CP commands through a Web interface > > What are the permissions on /dev/vmcp? > > > Mark Post > > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of > Spann, Elizebeth (Betsie) > Sent: Thursday, October 19, 2006 4:27 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: CP commands through a Web interface > > 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 > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- 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