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 script which will mean that the script will be run as if by that user. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: Some shell fun ( John Peacock 2004)
  2. Re: Some shell fun ( "Jesse Crofoot" 2004)
  3. Re: Some shell fun ( Joe D'Andrea 2004)
  4. Re: Some shell fun ( "Nitai @ ComputerOil" 2004)
  5. Re: Some shell fun ( John Peacock 2004)
  6. Re: Some shell fun ( "Nitai @ ComputerOil" 2004)
  7. Re: Some shell fun ( "Erol Guneri" 2004)
  8. Re: Some shell fun ( "Nitai @ ComputerOil" 2004)
  9. Re: Some shell fun ( "Erol Guneri" 2004)
  10. Re: Some shell fun ( "Nitai @ ComputerOil" 2004)
  11. Re: Some shell fun ( "Erol Guneri" 2004)
  12. Re: Some shell fun ( "Nitai @ ComputerOil" 2004)
  13. Re: Some shell fun ( "Nitai @ ComputerOil" 2004)
  14. Re: Some shell fun ( "Erol Guneri" 2004)
  15. Re: Some shell fun ( John Peacock 2004)
  16. Some shell fun ( "Nitai @ ComputerOil" 2004)
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 script which will mean that the script will be run as if by that user. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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)