Getting Past Password Prompt in Script

Getting Past Password Prompt in Script

Post by Rob Forste » Sat, 26 Sep 1998 04:00:00



I've trying to write a script that has to enter a password when prompted.

for ...
       do
               dsmc arc $FILE_NAME <<!
               password
               !
        done

The <<! syntax works with my oracle scripts but not in this case. ie.  I'm
trying to force a <CR> <LF> within the script.
Any help would be appreciated.

Rob.