|
|
@ -1,8 +1,8 @@ |
|
|
#!/usr/bin/python |
|
|
#!/usr/bin/python |
|
|
# -*- coding: utf-8 -*- |
|
|
# -*- coding: utf-8 -*- |
|
|
# |
|
|
# |
|
|
# IMPORTANT: calls the sas-admin cli change the variable below if your CLI is not |
|
|
# IMPORTANT: calls the sas-admin CLI. Change the variable below if your CLI is not |
|
|
# installed in the default location |
|
|
# installed in the default location. |
|
|
# |
|
|
# |
|
|
# usage python loginviauthinfo.py |
|
|
# usage python loginviauthinfo.py |
|
|
# loginviauthinfo.py -f /tmp/myfile |
|
|
# loginviauthinfo.py -f /tmp/myfile |
|
|
@ -10,7 +10,7 @@ |
|
|
# |
|
|
# |
|
|
# Authinfo file users .netrc format https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/filesreference/netrc.html |
|
|
# Authinfo file users .netrc format https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/filesreference/netrc.html |
|
|
# |
|
|
# |
|
|
# Example of file. Firt line specifies the default userid and password if no machine is specified. Second line specifies a machine and the |
|
|
# Example of file. First line specifies the default userid and password if no machine is specified. Second line specifies a machine and the |
|
|
# userid and password for that machine, |
|
|
# userid and password for that machine, |
|
|
# |
|
|
# |
|
|
# default user sasadm1 password mypass |
|
|
# default user sasadm1 password mypass |
|
|
@ -19,6 +19,7 @@ |
|
|
# Change History |
|
|
# Change History |
|
|
# |
|
|
# |
|
|
# 25AUG2019 modified to logon to the host in the profile and support multiple lines in authinfo |
|
|
# 25AUG2019 modified to logon to the host in the profile and support multiple lines in authinfo |
|
|
|
|
|
# 10OCT2019 minor edits to header, no code changes |
|
|
# |
|
|
# |
|
|
# Copyright © 2018, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. |
|
|
# Copyright © 2018, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. |
|
|
# |
|
|
# |
|
|
|