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:

WebCat2b13MacPlugIn - More limits on [include] (1997) ODBC to WebCat (2000) New Installation (1998) carriage returns in data (1997) sorting dates (1999) Math, Multiple Equasions and Show/Hide (1998) SQL Error: 00000 (2004) Trouble with carts (2000) Deadlock (1999) www.web-dna.org? (2002) WebDNA update from Smith Micro (2002) 6.0 /Panther install issues [patch?] (2004) emailer w/F2 (1997) Country & Ship-to address & other fields ? (1997) notification solutions (1997) web delivery (1997) removelineitems (2000) New Command prefs ... (1997) [SearchString] usage (1997) WCS Newbie question (1997)