<?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 Re: using sysparm to supply password in batch file to sas prog - non alpha/num characters in passwor in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518956#M140494</link>
    <description>&lt;P&gt;That doesn't matter. Anything on the commandline is visible to all processes and all users.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 21:52:39 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-12-05T21:52:39Z</dc:date>
    <item>
      <title>using sysparm to supply password in batch file to sas prog - non alpha/num characters in password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518916#M140472</link>
      <description>&lt;P&gt;Hi, We want to send a password from a batch file to be used in a sas prog that actually comes from an Azzure Vault (encrypted key).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The batch file command runs sas, the prog and then we put sysparm at the end:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;c:\progs\sas.exe -sysin "test.sas" -sysparm (Passwordstringalphanum)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a test environment our solution works fine where the password is a mix of alpha and numeric. However, when we use&amp;nbsp;any non alpha/numeric character it fails. eg comma,hash,star,slash etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am pretty sure the issue is the non alpha/num characters in the password.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have no control over the password so can't suggest passwords are only alpha/num.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 19:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518916#M140472</guid>
      <dc:creator>andrewjmdata</dc:creator>
      <dc:date>2018-12-05T19:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: using sysparm to supply password in batch file to sas prog - non alpha/num characters in passwor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518922#M140478</link>
      <description>&lt;P&gt;Have you tried enclosing the string with single quotes? That should mask non-alphanumeric characters.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 19:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518922#M140478</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-05T19:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: using sysparm to supply password in batch file to sas prog - non alpha/num characters in passwor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518923#M140479</link>
      <description>&lt;P&gt;I think we have tried all sorts of variations like that but I'll check.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was hoping there might be a flag I could use/something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 19:55:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518923#M140479</guid>
      <dc:creator>andrewjmdata</dc:creator>
      <dc:date>2018-12-05T19:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: using sysparm to supply password in batch file to sas prog - non alpha/num characters in passwor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518924#M140480</link>
      <description>&lt;P&gt;NEVER, EVER, not even in your baddest dreams, put a password in a commandline. Your CSO will have you hung, drawn and quartered, and rightfully so.&lt;/P&gt;
&lt;P&gt;Store passwords in metadata, where you can control access, or setup passwordless connections with (protected) public/private key pairs.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 19:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518924#M140480</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-05T19:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: using sysparm to supply password in batch file to sas prog - non alpha/num characters in passwor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518927#M140483</link>
      <description>&lt;P&gt;Hi Kurt, As I said in my message the actual password is stored in Azzure Vault. We are testing to ensure we can pass strings as passwords that will almost certainly contain non alpha/numeric chars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 20:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518927#M140483</guid>
      <dc:creator>andrewjmdata</dc:creator>
      <dc:date>2018-12-05T20:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: using sysparm to supply password in batch file to sas prog - non alpha/num characters in passwor</title>
      <link>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518956#M140494</link>
      <description>&lt;P&gt;That doesn't matter. Anything on the commandline is visible to all processes and all users.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 21:52:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/using-sysparm-to-supply-password-in-batch-file-to-sas-prog-non/m-p/518956#M140494</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-05T21:52:39Z</dc:date>
    </item>
  </channel>
</rss>

