I am writting a script (ksh) to fire off a backup utility nightly. The utility prompts for a password when it runs.
I have tried the following method that works for ftp.
#!/bin/ksh
ndsbackup cf /data/bak/`date +%y%m%d` -a adminnamehere <<EOF
echo "passwordhere"
EOF
I have also...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.