Re: Some shell fun
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58333
interpreted = N
texte = Nitai @ ComputerOil wrote:> This should allow the import.sh script to run which it also does. The script> is launched but commands within that script are ignored, like chmod, or> chown.I believe that means that all commands within the script must be listed on the sudoers file as well.Alternatively, and more flexible, is to make the script itself suid, like this:# chown user_that_can_run_commands_but_not_root script# chmod +S scriptwhich will mean that the script will be run as if by that user.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Nitai @ ComputerOil wrote:> This should allow the import.sh script to run which it also does. The script> is launched but commands within that script are ignored, like chmod, or> chown.I believe that means that all commands within the script must be listed on the sudoers file as well.Alternatively, and more flexible, is to make the script itself suid, like this:# chown user_that_can_run_commands_but_not_root script# chmod +S scriptwhich will mean that the script will be run as if by that user.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Web Site (2000)
Replace context (1998)
4.0.2b5 not finding databases under load (2000)
Ongoing group search problems ... (1997)
Stopping bad HTML propagation ? (1997)
sendmail what is SIMS? (1999)
WCS Newbie question (1997)
Stopping bad HTML propagation ? (1997)
Frames and WebCat (1997)
authorizenet and netscape (2002)
b12 cannot limit records returned and more. (1997)
[WebDNA] [OT] Apple iPad (2010)
[ignore this] Wierd display error.... (2004)
getchars broken? (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
PIXO support (1997)
WebCat2: multiple currency support (1997)
Forms Search Questions (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
still having shipCost.db Problem (1997)