Re: Some shell fun
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58339
interpreted = N
texte = Have you tried it without the % as well----- Original Message -----From: "Nitai @ ComputerOil"
To: "WebDNA Talk" Sent: Friday, June 11, 2004 2:16 PMSubject: Re: Some shell fun> Tried it now and nothing is happening. I am totally confused now :-(>>> > From: Erol Guneri > > Reply-To: "(WebDNA Talk)" > > Date: Fri, 11 Jun 2004 13:58:48 +0100> > To: "(WebDNA Talk)" > > Subject: Re: Some shell fun> >> > have you tried changing sudoers to:> >> > %www ALL=NOPASSWD: ALL> >> > This way you can be sure that WebDna is calling sudo correctly.> >> > Erol> >> >> > ----- Original Message -----> > From: "Nitai @ ComputerOil" > > To: "WebDNA Talk" > > Sent: Friday, June 11, 2004 1:50 PM> > Subject: Re: Some shell fun> >> >> >>> I believe that means that all commands within the script must belisted> > on 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 withinWebDNA.> >>> >>> Alternatively, and more flexible, is to make the script itself suid,> > like> >>> this:> >>>> >>> # chown user_that_can_run_commands_but_not_root script> >>> >> Ok, that would be "www".> >>> >>> # chmod +S script> >>>> >>> 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> >>> >>> >> --> >> Tools to energize your business> >> Web Content Management «Redakto» & eBusiness Systems> >>> >> ComputerOil® 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/> >>> >>> >> >> >> > -------------------------------------------------------------> > 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/> >>>>>> -------------------------------------------------------------> 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/>>-------------------------------------------------------------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:
Have you tried it without the % as well----- Original Message -----From: "Nitai @ ComputerOil" To: "WebDNA Talk" Sent: Friday, June 11, 2004 2:16 PMSubject: Re: Some shell fun> Tried it now and nothing is happening. I am totally confused now :-(>>> > From: Erol Guneri > > Reply-To: "(WebDNA Talk)" > > Date: Fri, 11 Jun 2004 13:58:48 +0100> > To: "(WebDNA Talk)" > > Subject: Re: Some shell fun> >> > have you tried changing sudoers to:> >> > %www ALL=NOPASSWD: ALL> >> > This way you can be sure that WebDna is calling sudo correctly.> >> > Erol> >> >> > ----- Original Message -----> > From: "Nitai @ ComputerOil" > > To: "WebDNA Talk" > > Sent: Friday, June 11, 2004 1:50 PM> > Subject: Re: Some shell fun> >> >> >>> I believe that means that all commands within the script must belisted> > on 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 withinWebDNA.> >>> >>> Alternatively, and more flexible, is to make the script itself suid,> > like> >>> this:> >>>> >>> # chown user_that_can_run_commands_but_not_root script> >>> >> Ok, that would be "www".> >>> >>> # chmod +S script> >>>> >>> 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> >>> >>> >> --> >> Tools to energize your business> >> Web Content Management «Redakto» & eBusiness Systems> >>> >> ComputerOil® 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/> >>> >>> >> >> >> > -------------------------------------------------------------> > 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/> >>>>>> -------------------------------------------------------------> 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/>>-------------------------------------------------------------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/
"Erol Guneri"
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:
suffix mapping for NT? (1997)
[WebDNA] sum in a search (2009)
[shownext max=?] armed (1997)
No Subject Line (2000)
RAM variables (1997)
Country & Ship-to address & other fields ? (1997)
Frames and WebCat (1997)
Problem with new formvariables (2000)
WebDNA Solutions ... (1997)
Order not created error (never mind) (1997)
Beta 18 (1997)
PIXO (1997)
[WebDNA] WebDNA and MAMP/Apache (Mac) (2018)
off topic, converting mail (1998)
Cancel Subscription (1996)
RequiredFields template (1997)
[shownext max=?] armed (1997)
Search in 2 or more catalogs (1997)
WC2f3 (1997)
Separate SSL Server (1997)