Re: See [shell]s

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 70177
interpreted = N
texte = Here's an example of a shell script call I use to authenticate users. Notice the parameters necessary since the www user doesn't have them in their environment. [text]result=[Shell]LD_LIBRARY_PATH=/services/sybase/lib SYBASE=/services/sybase LANG=C /services/web-sites/bin/auth.pl '[username]' '[url][pw][/url]'[/Shell][/text] Marc Dennis J. Bonsall, Jr. wrote: >> put in something you know will return something ie ls or ls -lh use a >>
 before and after to the format the info.> > > Yeah, I've done all that.  It seems as though, if an error occurs,  > nothing is returned.  I ran into this problem a few years ago > (http://search.smithmicro.com/TalkListArchive/SubjectResults.tpl?command=search&db=webdna-talk.db&wsSubjectdata=%20Can%27t%20ping%20%28problem%20with%20%5Bshell%5D%29&words=%5Bshell%5D&group1data=%5Bshell%5D&group1comp=wo&max=15 > ).  The problem in that instance was I needed the full path to ping.   > But, since no error was being reported back through the [shell]  > context, it was very difficult to figure out what the problem was.  I  > was just hoping for an easier way.> > Thanks,> Dennis> > -------------------------------------------------------------> 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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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: See [shell]s ( Marc Thompson 2008)
  2. Re: See [shell]s ( "Dennis J. Bonsall, Jr." 2008)
  3. Re: See [shell]s ( "Dennis J. Bonsall, Jr." 2008)
  4. Re: See [shell]s ( Bob Minor 2008)
  5. Re: See [shell]s ( "Dennis J. Bonsall, Jr." 2008)
  6. Re: See [shell]s ( Donovan Brooke 2008)
  7. Re: See [shell]s ( Dave Hurley 2008)
  8. See [shell]s ( "Dennis J. Bonsall, Jr." 2008)
Here's an example of a shell script call I use to authenticate users. Notice the parameters necessary since the www user doesn't have them in their environment. [text]result=[shell]LD_LIBRARY_PATH=/services/sybase/lib SYBASE=/services/sybase LANG=C /services/web-sites/bin/auth.pl '[username]' '[url][pw][/url]'[/Shell][/text] Marc Dennis J. Bonsall, Jr. wrote: >> put in something you know will return something ie ls or ls -lh use a >>
 before and after to the format the info.> > > Yeah, I've done all that.  It seems as though, if an error occurs,  > nothing is returned.  I ran into this problem a few years ago > (http://search.smithmicro.com/TalkListArchive/SubjectResults.tpl?command=search&db=webdna-talk.db&wsSubjectdata=%20Can%27t%20ping%20%28problem%20with%20%5Bshell%5D%29&words=%5Bshell%5D&group1data=%5Bshell%5D&group1comp=wo&max=15 > ).  The problem in that instance was I needed the full path to ping.   > But, since no error was being reported back through the [shell]  > context, it was very difficult to figure out what the problem was.  I  > was just hoping for an easier way.> > Thanks,> Dennis> > -------------------------------------------------------------> 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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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 Thompson 

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:

Logging purchases (1997) Loop code problem (2000) Probably a very simple question? (1997) Question re: FlushDatabases (1997) OH CRAP!!!!!- Template not found error!!! (1999) emailer cc to figured out (1997) All choice in popups (1997) Mail Server Needed. (1998) Location of Browser Info.txt file (1997) [WebDNA] Developer Resource Center Redirect (2008) SiteEditPro (1996) [text] prob (1998) Review comparison by PC Magazine: Open for On-line Business (1997) Emailer (1997) For those of you not on the WebCatalog Beta... (1997) WebCatalog2 Feature Feedback (1996) method of payment (1997) remotely add + sign (1997) BUG in [showif] using ^ (contains) (1997) all records returned. (1997)