Script security
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Script security

  1. #1
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    Let's say I run a script from a cron job and pass system/[password] in the script...

    If I do a ps -ef|grep system

    It'll show the system password...

    Any ideas (other than "don't do that")?
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    do

    sqlplus -s << EOF
    username/password@tns
    .....
    .....
    exit
    EOF

    this wont show username/password in ps

  3. #3
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    Excellent idea. Thank you.
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

Posting Permissions

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



Click Here to Expand Forum to Full Width