Date: Fri, 10 May 1996 08:00:41 +0000
Reply-To: SAS-L User <sas@SPSUK.DEMON.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: SAS-L User <sas@SPSUK.DEMON.CO.UK>
Subject: Re: CONNECT w/o a login?
On 9 May, David Cuthbertson wrote (wrt SAS/CONNECT)
> My question is, can a link be made without a login and password unto the
> UNIX machine (and without embedding the login and password in the script)
> without compromising security
-snip-
Although I do not have a solution to the specific problem of
connecting without a password, I do have a way to avoid password
insecurities. Information such as userids and passwords can be
passed to the login script as macro variables.
Outside the login script, set macro variables (eg):
%let username=fred;
%let password=happy;
In our systems, these are generated by CALL SYMPUTs from an AF
application.
Within the script (sample is for SUNOS):
waitfor 'login:' , 120 seconds: noinit;
type "&username" LF;
waitfor 'Password', 30 seconds : nolog;
type "&password" LF;
I hope this is useful.
Tony Payne
SAS Software Consultant
Software Product Services Ltd
19-20 The Broadway
Woking Surrey UK GU21 5AP
Tel: +44 (0)1483 730771
Fax: +44 (0)1483 727417
Mail: AJP@spsuk.demon.co.uk