How to secure the password when calling SACmd from a tidal job?

I'm attempting to use the SACmd command line from a Tidal job.   I have the job configured and is working correctly. 
My quesion, is how do i secure the password?  Currently, it is in the clear in the job parameters.   Is there a system variable i can set, which then isn't displayed?

This has been answered by others in older posts (which was where I got some tips from) and I believe the reference guide or the command line PDF guides may have this info. Essentially this involves using the -persist command option from the server (where sacmd is installed - usually the master)  which then saves the particular credentials within users local home on the server so that you don't have to add password in the tidal job you create after that.
1. Prior to running sacmd on the server as a job in TES61, you will need to verify that it can run via command line outside of TES GUI.
[serveradmin@masterserv bin]$ pwd
/opt/tidal/TIDAL/TESCmdline/bin
[serveradmin@masterserv bin]$ ./sacmd.sh
TES SA Command Console (Version 6.1.0.267).
JRE Version : 1.7.0_25
Style       : table
DSP URL     : https://server.company.com/api/TesDevCM
Username    : domain\interactiveuser
Password    :
SACmd>quit
2. So that you don’t have to append login credentials required by TES 61 in your command parameters in the job definition, you will have to run the command below.  This uses the –persist parm, which stores the interactive user credential in the users local home one time.  You will need to run this again for another user and for when passwords change.
[serveradmin@masterserv bin]$ ./sacmd.sh -cmdspurl https://server.company.com/api/TesDevCM1 -user 'domain\serveradmin' -pass
'********' -persist
TES SA Command Console (Version 6.1.0.267).
JRE Version : 1.7.0_25
Style       : table
DSP URL     : https://server.company.com/api/TesDevCM1
User        : domain\interactiveuser
Connection info saved successfully
[serveradmin@masterserv bin]$ ./sacmd.sh -help
NOTE: the User has to be an interactive user in TIDAL in order for this to work.  In this particular case the Tidal job will use masterserv as the agent, and UNIX\serveradmin as the runtime user (since that is the user that owns the executable binaries).  But it is actually going to use the domain\interactiveuserTIDAL interactive user security to run sacmd.  If domain\interactiveuser doesn’t have security policy rights to perform something in sacmd, command will fail.
This will save your credentials in this location:
[serveradmin@masterserv tescmd]$ pwd
/home/serveradmin/tescmd
[serveradmin@masterserv tescmd]$ ls -lat
total 12
-rw-rw-r-- 1 serveradmin serveradmin   76 Aug 23 14:13 .connection
drwxrwxr-x 2 serveradmin serveradmin 4096 Aug 23 14:12 .
drwx------ 4 serveradmin serveradmin 4096 Aug 23 14:12 ..
[serveradmin@masterserv tescmd]$ vi .connection
https://server.company.com/api/TesDevCM
Y8Rod7qhMMtHKx0W+Dx+F7FsdfsslQTr
That's it, so when you run your sacmd , you don't have to pass any credentials from the command parameter.

Similar Messages

  • How to secure the password to the keystore

    Dear Venerable Sirs,
    I implemented a few PKI solutions to integrate high profile vendors successfully. Still, there is one sticky point with which I am not quite comfortable.
    My concern is: How do I secure the password to the keystore?
    Currently, I am storing the password to the keystore in a property file. But I am not comfortable with this method at all.
    Can you kindly recommend some sound practices and practical approaches to address this issue.
    Kindly bare in mind that I don't have a database to store the passwords (I have been suggested this approach) and getting approvals to buy third party products is next to impossible.
    I also would also like to understand the best way to secure a symmetric key as I also implemented a TripleDES solution with one of our vendors.
    Right now, the symmetirc key is sitting in a properties file and though the server is quite secure, I wouldn't like to be dinged by our internal compliance team for resorting to such a practice.
    Yours Sincerely

    Use POST instead of GET.
    If you want to go a step further, use SSL (https:// instead of http://). Consult application server documentation for details.

  • How to populate the CONTAINER, when calling a WorkFlow Task via FM?

    Hello,
    I am trying to trigger an email notification to user's SAP Inbox, if Outbound IDOC got failed. I wrote the below code in the processing FM, but, i am stucked at populating the CONTAINER parameter of this Task, pls. let me know How/with What I have to populate the CONTAINER parameter of this FM?
    DATA: wa_input_container    TYPE swr_cont,
                wa_swr_messag       TYPE swr_messag,
                wa_swragent             TYPE swragent.
    * Fill Workflow element
          wa_input_container-element = '_WI_OBJECT_ID' .
          wa_input_container-value   = wa_idoc_control-docnum.
          APPEND wa_input_container TO itab_input_container.
    * Fill Email body
          wa_swr_messag-msg_type = 'E'.
          wa_swr_messag-line = 'Error'.
          APPEND wa_swr_messag TO itab_swr_messag.
          CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task               = 'TS00007989'
              language           = sy-langu
              user               = sy-uname
              start_asynchronous = 'X'
            IMPORTING
              return_code        = v_sy_subrc
            TABLES
              input_container     = itab_input_container
              message_lines      = itab_swr_messag
              agents                   = itab_swragent.
        ENDIF.
    Thank you.

    Hi,
    Pls refer below link.
    FM SAP_WAPI_START_WORKFLOW Exporting container without values

  • HOW TO HIDE USERID PARAMETER, WHEN CALL REPORT FROM MENU USING FORM 10G

    good morning colegas
    i'm from panama
    when i call a report from a oracle forms menu, its send a user, pass and bd in the url, i need to hide this parameter userid,
    cuando llamo un reporte desde forms, se envia el usuario, pass y bd en el url nesesito ocultar estos parametros del url, le agradeceria si alguno tiene algun eejmplo q me de, de como ocultar estos parametros
    i'm using oracle forms y report 10g
    this is my msn [email protected]
    slds desde panama

    this document show us, only when i call a report from a forms, but not from a menu!
    but to hide these parameters, i need to create a bean in a block a way and the menus do not allow me to create these objects
    you done this before?
    you have a example?
    slds desde panama

  • How to Debug the RFC when the call is made from XI

    Hi
    I will give the brief about the problem
    this call is from Webservice >XI-> R/3 BW (RFC)
    Some transaction were failed with error 'Reason Code not valid ..e.t.c " this error returning from the RFC of the BW system, but as per the inputs from the business t,he reason code are valid and some of other transactions went through sucessfully with same reason code.
    My requiremnt is,,
    i had the XML's of the failed transactions , and i need to push them From XI to BW, and Simultaneously  i need to debug the RFC of BW system and trace the reason for that error.
    Is there any possiblity to do this.
    Please help.
    Thanks in Advance
    Mallik

    Hi
    I will give some more details abou my requirement.
    Some transaction passed from B2B bridge >-XI (RFC)>BW, Failed due to the error returned by BW system in Production environment.
    The RFC is standard one and intern it is calling BAPI (I need to debug a method inside the BAPI which is returning the particular error).
    And i have the XML's of the failed transactions.
    If i want to do this Dev. environment.i will fallow the below steps.
    1) I will add the external break-point on my user-ID (BREAK USERID)
    2) And in XI i will change the user in the RFC communicational channle to my USER ID and password.
    3) From XI Runtime workbench i will send the test message with XML's provided.
    Can any one please confirm that i am going in a correct way...?
    Please correct me if i am wrong.
    Thanks for your help
    Mallikharjuna Reddy

  • My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to display the data?

    My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?

    Hi Gazpan,
    Thanks for visiting Apple Support Communities.
    I recommend using the steps in this article to back up your iPhone if possible:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    You may also find this advice helpful for your situation:
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5661
    If you no longer have your iOS device
    If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
    If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
    Cheers,
    Jeremy

  • How to register the recipient when create job by function

    I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
    Can you tell me how to register the recipient when create the job.
    ( in sm36, it is easily to do but how to do in coding? )
    regards,
    slam

    Hi
    I think in Back ground using the above fun modules you can't send a mail to the receipient.
    see the use of the above fun modules;
      IF p_bjob = 'X'.
        CONCATENATE sy-cprog sy-datum sy-uzeit
                    INTO jobname SEPARATED BY '_'.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = jobname
          IMPORTING
            jobcount         = jobcount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          IMPORTING
            out_archive_parameters = arc_params
            out_parameters         = print_params
            valid                  = valid
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF valid = chk.
          SUBMIT ybrep
                          WITH < sel Screen>
                          AND RETURN
                          USER               sy-uname
                          VIA JOB            jobname
                          NUMBER             jobcount
                          TO SAP-SPOOL
                          SPOOL PARAMETERS   print_params
                          ARCHIVE PARAMETERS arc_params
                          WITHOUT SPOOL DYNPRO.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = jobcount
              jobname              = jobname
              strtimmed            = 'X'
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              invalid_target       = 8
              OTHERS               = 9.
          IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            MESSAGE i029 WITH jobname.
          ENDIF.
        ELSE.
          MESSAGE s000 WITH text-003.
          STOP.
        ENDIF.
      ENDIF.
    Reward points if useful
    Regards
    Anji

  • The passcode lock code at the iPhone 4 was broken into by a program from Internet. ( By connecting the phone to a PC that program tells the passcode) Does someone knows how to prevent unauthorized opening of iPhone? How to secure the passcode ?

    My daughter has an iPhone 4 secured with passcode lock. A visitor in their house took her unattended iPhone, connected to the PC, from a certain program got her pascode and did open her phone to go through her private messages. Does someone knows how to prevent this? How to secure the Phone from unauthorized opening?
    Thanks in advance for all suggestions!!!

    Hi igmusla,
    It seems someone has stolen your daughters phone there is an application called FindMyiPhone if she had location services on and the thief hasn't disabled it you can possibly track the phone down. Sadly you cannot stop the thief from gaining access to her phone and personal information. Please report your phone stolen to your local police station and call Apple aswell, they can possibly put a lock on your phone aswell as put it into a carrier block which prevents the thief from calling anyone or putting a new sim card in it.

  • How to get the tab when is it pressed?

    I have the following situation:
    I have an array of JTextField inside a scroollpane. The size of my array is nine or ten depends on some rules. But my window show just four JTextField. So I would like to know how to get the event when I press "tab", just to show the others JTextField while I'm pressing "tab". Because I need this event to scrooll down or scrooll up.
    I tried the keylistener, but when I press "tab" any method(keypressed, keyreleased, keytyped) is called.
    I also tried the focuslistener. If this event I could scrooll down or scrooll up, but I couldn't do both!!
    Can somebody help me??
    Thanks anyway!!
    Gin

    JTextField implements Scrollable interface, which provides information to the enclosing container such as JScrollPane.
    Hence when the tab event is fired, you can compute the Rectangle area that should be visible and then call the 'scrollRectToVisible()' method in JTextField. This will inform the JScrollPane to scroll to the rectangle that you mention.
    HTH

  • How to find the password of the scott

    How to find the password of the scott
    Any query please

    Hi,
    Its not possible to get the password back from the ORACLE as such.
    Because its not that it saves the passwords as such encrypted.
    Try to give same password for different users and check from DBA_USERS, most of the times you might get different encrypted passwords even though the base password is same - which shows the password is not encrypted as easy to decrypt...
    Only thing you can do is reset the password when someone forgets it as DBA - but not find the old password.
    Regards,
    S.Muthukumar.

  • About the delay when calling Player.start()

    How to eliminate or reduce the delay when calling Player.start()? Can someone kindly give some suggestions about the issue? Is that right the more small size of the media file, the more small delay? Can the delay be eliminate?

    I think my expression is not clear enough, I rewrite as followed: How to eliminate or reduce the canvas repainting delay when calling Player.start(). The media playing does not delay, but the canvas repainting have a serious delay.

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

  • How to reload the screen when changing languages in JavaFX 2?

    I'm beginner with javaFX and i need to change language of the screen. but i have no idea how to reload the screen when the language was changed. The application have a button where have the language available. I want just refresh screen when the user change language.
    Here is the start method to show the stage.
        @Override
        public void start(Stage stage) throws Exception
            this.stage = stage;
            Locale locale = Locale.getDefault();
            ResourceBundle rb = ResourceBundle.getBundle("resources/Label",locale);
            loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
            root = (Parent)loader.load();
            FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
            controller.setMain(this);
            scene = new Scene(root);
            stage.setScene(scene);
            stage.show();
    here is the function to change the language(in the same class with start function),the rb is the new ResourceBundle:
        public void refresh(ResourceBundle rb)
              //change the language here
    1. I don't want to use the resourceBundle to get value in resource file and set label in scene one by one.like following:
    this.btnLabel.setText(rb.getString(key.test));
    2. I don't want to reload the scene,like following:
        public void refresh(ResourceBundle rb)
             try
                loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
                root = (Parent)loader.load();
                scene.setRoot(root);
                FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
                controller.setMain(this);
            catch(Exception err)
                err.printStackTrace();
    So do we have a solution to just set the resourceBundle and reload the scene easier?
    Thanks and best regards!

    Your option 2 (reload the FXML for the scene using the new resource bundle as a parameter), is the way this would normally be done and what I would recommend.
    Failing that, you could use option 1 of individually resetting the label text of labeled items (I don't really recommend this).
    Why don't you want to use option 2?
    Perhaps it is because there is some internal state of the UI which differs from the initial state when the the UI is first loaded (e.g. user has typed text in a text field and you want to preserve that).  If that's the case you will need to either go with your option 1 of individually resetting the label text of labeled items, or implement something which preserves the UI state and user data by saving it in memory or to disk, reloading the UI via the FXMLLoader (essentially your option 2), then restoring the UI state and user data to what it was before the language change.  Preserving and restoring the modified state seems complicated to me if you have a lot of state, so I wouldn't really advise this approach unless you really needed it.

  • How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    I wonder the Format Tables macros on my site could be adapted?
    http://www.grainge.org/pages/authoring/word/word_macros.htm
    If not, I have used Macro Express to format tables in Rh. No reason it could not be used in Word.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • HT5787 My apple id has been hacked. hacker has changed all information in the apple id so I can not change the password. Account information from the apple id created is still in my mail. How do I regain apple id. Thanks

    My apple id has been hacked. hacker has changed all information in the apple id so I can not change the password. Account information from the apple id created is still in my mail. How do I regain apple id. Thanks

    Contact Apple support: Apple ID: Contacting Apple for help with Apple ID account security

Maybe you are looking for