Last active
February 13, 2018 14:05
-
-
Save frayos/3297c88996bb9dae5f1d03fd672d2eff to your computer and use it in GitHub Desktop.
KRBauth.sas check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%put Site: &syssite Release: &sysvlong System: &sysscp &sysscpl; | |
%macro show(command); | |
filename p pipe &command lrecl=32767; | |
data _null_; | |
infile p; | |
input; | |
put _infile_; | |
run; | |
%mend; | |
options ls=115; | |
%show("wmic useraccount where (name='CHANGER_LE_NOM_DE_L_UTILISATEUR') get name, AccountType, Description, Domain, Disabled, LocalAccount, Lockout, PasswordChangeable, PasswordExpires, PasswordRequired, SID"); | |
%show("echo %computername%"); | |
%show("echo %logonserver%"); | |
%show("whoami"); | |
%show("klist tickets"); | |
%show("klist sessions"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment