Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Issuing Oracle administrative commands from restricted user account
"FC" <flavio_at_tin.it> wrote in message news:<JYt2a.228733$AA2.8896727_at_news2.tin.it>...
> Hello folks,
> I guess my problem is very common, however I can't find a solution in the
> Windows 2000 documentation I own.
> I want to execute several commands inside a batch progam (.bat) like
> LSNRCTL, ORADIM and so on.
> Each command requires administrator privileges, so I thought it would be
> sufficient to "runas" the batch program itself as Administrator while
> connected as a restricted user, but it doesn't work, the commands end up in
> error.
> Is there any specific policy preventing inheritable permissions from working
> ?
> Or any special right to be granted ?
>
> Thanks in advance for the help.
>
> Bye,
> Flavio
Are you providing the administrator password when prompted? Run a single command from command line and see if it works. Running runas from command line works fine, e.g.
C:\> runas /user:<domain>\administrator "lsnrctl start" Enter password for <domain>\administrator:
Regards
/Rauf Sarwar
Received on Wed Feb 12 2003 - 22:42:37 CST