Re: Some shell fun

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58336
interpreted = N
texte = > I believe that means that all commands within the script must be listed o= n the > sudoers file as well. All commands within the script are listed also in the sudoer file. Actually all I am trying to do, is to mimick your CVS script (cvsnt) on MacOS X. I want to export a directory from cvs. The script does the following: Cd /mypath Cvs export -d "now" cvspath mypath Chown www:wheel * The script runs fine from the terminal but not when called within WebDNA. > Alternatively, and more flexible, is to make the script itself suid, like > this: >=20 > # chown user_that_can_run_commands_but_not_root script Ok, that would be "www". > # chmod +S script >=20 > which will mean that the script will be run as if by that user. The "+S" does not work under MacOS X, I guess since I get a "chmod: invalid file mode: +S" message. Nitai --=20 Tools to energize your business Web Content Management =ABRedakto=BB & eBusiness Systems ComputerOil=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com ------------------------------------------------------------- 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)
> I believe that means that all commands within the script must be listed o= n the > sudoers file as well. All commands within the script are listed also in the sudoer file. Actually all I am trying to do, is to mimick your CVS script (cvsnt) on MacOS X. I want to export a directory from cvs. The script does the following: Cd /mypath Cvs export -d "now" cvspath mypath Chown www:wheel * The script runs fine from the terminal but not when called within WebDNA. > Alternatively, and more flexible, is to make the script itself suid, like > this: >=20 > # chown user_that_can_run_commands_but_not_root script Ok, that would be "www". > # chmod +S script >=20 > which will mean that the script will be run as if by that user. The "+S" does not work under MacOS X, I guess since I get a "chmod: invalid file mode: +S" message. Nitai --=20 Tools to energize your business Web Content Management =ABRedakto=BB & eBusiness Systems ComputerOil=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com ------------------------------------------------------------- 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/ "Nitai @ ComputerOil"

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:

Multiple fields on 1 input (1997) Ticks Email Preference (2002) creating a ShipCosts database (1997) More to Expire (1998) (1997) Referrer field to header field conversion (1997) [append] vs. [appendfile] delta + question? (1997) page redirect in webDNA (1997) Append File help needed (2000) shipping with weigth (1998) WC Database Format (1997) Content Management + License (2005) WebCat2b15MacPlugin - [protect] (1997) Problems getting parameters passed into email. (1997) help testing quicktime delivery (1997) WebDNA maxing out processor (2008) no [search] with NT (1997) unable to launch acgi in WebCat (1997) (1998) Multiple catalog databases and showcart (1997)