Re: Maybe Off Topic -- OS X/UNIX Shell Scripts?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48394
interpreted = N
texte = I'm not sure how setting up a crontab would help me here? Color me slow. : c)Thanks,On Wednesday, March 5, 2003, at 01:30 PM, Clint Davis wrote:> I was able to get around this problem by setting up a crontab that > runs as> the root user. Get Cronnix from Version Tracker.>>> On 3/5/03 3:17 PM, Marc Kaiwi
wrote:>>> I want to call [Shell] some_script .sh[/Shell] to analyze some log>> files that require an sudo to access them in their restricted>> directories. Can I do this automatically in my shell script? ... in>> other words for example I have a script which does a tail on a log >> file>> but (in my shell) I would have to manually enter a password to>> continue: sudo tail -F somelogfile.log <-- asks for a password and >> then>> continues on.>> Can I pass a password to this function without any user interaction?Signed: Marc Kaiwi-------------------------------------------------------------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:
I'm not sure how setting up a crontab would help me here? Color me slow. : c)Thanks,On Wednesday, March 5, 2003, at 01:30 PM, Clint Davis wrote:> I was able to get around this problem by setting up a crontab that > runs as> the root user. Get Cronnix from Version Tracker.>>> On 3/5/03 3:17 PM, Marc Kaiwi wrote:>>> I want to call [shell] some_script .sh[/Shell] to analyze some log>> files that require an sudo to access them in their restricted>> directories. Can I do this automatically in my shell script? ... in>> other words for example I have a script which does a tail on a log >> file>> but (in my shell) I would have to manually enter a password to>> continue: sudo tail -F somelogfile.log <-- asks for a password and >> then>> continues on.>> Can I pass a password to this function without any user interaction?Signed: Marc Kaiwi-------------------------------------------------------------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/
marc@kaiwi.com (Marc Kaiwi)
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:
Silly Question (1997)
Question from a Neebie (2000)
carriage returns in data (1997)
WebDNA Life Cycle (was Form POSTing with LONG variable) (2007)
creator code (1997)
international time (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Request for help on a new *automated* WebCatalog function ... (1998)
[WebDNA] WebDNA & Facebook (2011)
problems with 2 tags shakur (1997)
word count in HTML form textarea and linebreaks (2000)
Email Newsletters (2003)
[WebDNA] How to stop cutting a word (2008)
[Sum] function? (1997)
How to implement 'email to a friend' feature? (2002)
Location of Webcat site in folder hierarchy (1997)
WebCat2 beta FTP site (1997)
SSL/Document Contains NO Data (1998)
In Digest Dijon (2000)
Applescript, WebDNA, and PDF (1997)