8.3.7.2 Running dbnodeupdate.sh Using sudo
Before using dbnodeupdate.sh using sudo, you configure the /etc/sudoers file.
To verify that the setup is correct, run dbnodeupdate.sh in prereq check mode as the oracle user:
[oracle]$ cd /u01/stage/patch/dbnodeupdate
[oracle]$ sudo ./dbnodeupdate.sh -u -l http://my-yum-repo/yum/EngineeredSystems/exadata/dbserver/12.1.2.1.3/base/x86_64/ -vdbnodeupdate exits if it is run without root privileges.
Note:
- The above setup requires that everything in
/u01/stage/patch/dbnodeupdatebe owned by therootuser. - If you update the dbnodeupdate utility, then you must place the new version in the same location as specified by
sudoers.
Parent topic: Using sudo When Performing Software Updates