<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sasbatch.sh command line - how to include user and pwd as parameters? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922050#M28273</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to include the user and password as parameters using the sasbatch.sh command line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ex:&lt;/P&gt;
&lt;P&gt;/SASCONFIG/Lev1/SASApp/BatchServer/sasbatch.sh -log /SASCONFIG/Lev1/SASApp/BatchServer/Logs/LOGFILE_TST_#Y.#m.#d_#H.#M.#s.log -batch -noterminal -logparm "rollover=session" -sysin /SASCONFIG/Lev1/SASApp/SASEnvironment/SASCode/Jobs/SASTest.sas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2024 20:34:50 GMT</pubDate>
    <dc:creator>bsas94</dc:creator>
    <dc:date>2024-03-27T20:34:50Z</dc:date>
    <item>
      <title>sasbatch.sh command line - how to include user and pwd as parameters?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922050#M28273</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to include the user and password as parameters using the sasbatch.sh command line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ex:&lt;/P&gt;
&lt;P&gt;/SASCONFIG/Lev1/SASApp/BatchServer/sasbatch.sh -log /SASCONFIG/Lev1/SASApp/BatchServer/Logs/LOGFILE_TST_#Y.#m.#d_#H.#M.#s.log -batch -noterminal -logparm "rollover=session" -sysin /SASCONFIG/Lev1/SASApp/SASEnvironment/SASCode/Jobs/SASTest.sas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 20:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922050#M28273</guid>
      <dc:creator>bsas94</dc:creator>
      <dc:date>2024-03-27T20:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: sasbatch.sh command line - how to include user and pwd as parameters?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922052#M28274</link>
      <description>&lt;P&gt;What user and password do you want to supply? Is it for accessing an external database or is it for some other purpose? How do you run sasbtch.sh - using a scheduler or manually from a command line?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n16ui9f6dacn8pn1t0y2hgxgi7wa.htm" target="_blank" rel="noopener"&gt;SYSPARM&lt;/A&gt; command line option is one alternative.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 20:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922052#M28274</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-03-27T20:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: sasbatch.sh command line - how to include user and pwd as parameters?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922058#M28275</link>
      <description>&lt;P&gt;The SAS executable has no means to switch to another user, it will always run as the user who started it from the commandline.&lt;/P&gt;
&lt;P&gt;Since the whole command used to start a program is open to the public (at least on UNIX systems), providing credentials via the commandline must not be done.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 21:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sasbatch-sh-command-line-how-to-include-user-and-pwd-as/m-p/922058#M28275</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-03-27T21:53:46Z</dc:date>
    </item>
  </channel>
</rss>

