Thank you everyone for clarifying how sudo works and for the excellent
advice on vmcp.   I'll rethink my /etc/sudoers carefully.
Betsie

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Post, Mark K
Sent: Friday, October 20, 2006 5:56 AM
To: [email protected]
Subject: Re: CP commands through a Web interface

That would mean that lstape (or at least the options you're giving it)
doesn't require root access.  Not everything in /sbin or /usr/sbin
requires root access.  For example, anyone can execute /sbin/ifconfig,
if all they do is display information.

Putting entries into /etc/sudoers doesn't grant root access unless the
user prefaces the command they want to issue with sudo.  There's no way
every command could/would be changed to automatically check /etc/sudoers
when being called.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Spann, Elizebeth (Betsie)
Sent: Thursday, October 19, 2006 6:26 PM
To: [email protected]
Subject: Re: CP commands through a Web interface

Hmm, I don't have to do "sudo lstape" for it to work but "sudo vmcp q v
da" does work.
Betsie

----------------------------------------------------------------------
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

Reply via email to