Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
szahri
Novice
Posts: 7
Liked: never
Joined: Nov 11, 2019 1:34 am
Contact:

Granular sudo for Oracle Explorer restore

Post by szahri »

Hi,
I'm struggling with granular sudo using oracle explorer to restore.

I used this KB to configure : https://www.veeam.com/kb2676

However I noticed that echo command wasnt there (I was logging sudo and I saw it was trying to use this and getting perm denied).
So I've added echo into this list of commands in the /etc/sudoers file (the echo command was not listed in the original document from Veeam).

After that I reran the Oracle explorer and now I saw in sudo log :

Nov 17 12:32:09 2019 : orauser: HOST=myhostname : command not
allowed ; TTY=pts/1 ; PWD=/home/orabck ; USER=root ; COMMAND=/usr/bin/[ -f
/etc/oraInst.loc ]

What exactly is the command its trying to run in COMMAND=/usr/bin/[ -f /etc/oraInst.loc ] ? I dont understand what its trying to do in this instance.
Any idea?

Thanks!
HannesK
Product Manager
Posts: 14314
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Granular sudo for Oracle Explorer restore

Post by HannesK »

Hello,
the reason that the command is not listed is, that the KB article is about agent management and not about Oracle restore.

About the "-f" https://stackoverflow.com/questions/102 ... e-and-if-f

Best regards,
Hannes
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests