I have a script that connects to svrmgrl and does some select statements.
Now the problem is that svrmgrl asks for a password.
This only happens in the script because if i connect to svrmgrl at the command prompt he does'nt ask me for a password.
I trie to connect with the user oracle witch is in the dba group in both cases!!!!
How do i fix this so he won't ask for a password or can i include a password in the script?
This is a piece of the script:
SVRMGR=/path to the svrmgrl
$SVRMGR<<EOF >test.log 2>&1
connect internal
select.....
EOF
So why does he ask for a password in this case and if i trie to start svrmgrl manualy he does'nt!!
Now the problem is that svrmgrl asks for a password.
This only happens in the script because if i connect to svrmgrl at the command prompt he does'nt ask me for a password.
I trie to connect with the user oracle witch is in the dba group in both cases!!!!
How do i fix this so he won't ask for a password or can i include a password in the script?
This is a piece of the script:
SVRMGR=/path to the svrmgrl
$SVRMGR<<EOF >test.log 2>&1
connect internal
select.....
EOF
So why does he ask for a password in this case and if i trie to start svrmgrl manualy he does'nt!!