Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012
    Posts
    44

    Unanswered: sqlldr in shell script - without clear text password in script

    Hi

    on this machine only Oracle client. DB is on remote machine.

    Code:
    #!/bin/bash
    [...]
    sqlldr system/Glzq9W@THRT5 control=/opt/input/import.ctl log=/opt/input/import.log errors=9999
    [...]
    Howto write this script without clear text password in script?

    What's the most simple (but secure) solution?

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Talking

    1) Add "USERID=system/Glzq9W@THRT5" to the control file, or ...

    2) Create external table on the file, or ...

    3) Create "externally identified" user.

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •