This is probably not the most dignified way to do this, but it does work.
Create a protected directory somewhere on your box, giving file create
permissions to only those folks who need to run ovstart ovstop, etc.
Then create a shell script that searches for flag files. It can test for the
presence of ovstart.flag, and if that file shows up, the script (which starts
at boot time and is root) will kick it off for you. Make sure your script
deletes the flag file or else it will keep on going.
My file sleeps for two minutes, then scans for files. It is mostly used so
that my operations people can compress the databases once a week.
Art DeBuigny
debuigny@dallas.net
>Hi,
>
>We are currently using Netview/Aix 4, and it appears that only root may
>issue ovstart/ovstop. In our shop, production root access must be
>requested thru data security and the password is changed after each use.
>This could be a problem to automate Netview cleanup/backup (ie ovstop
>netmon-ovtopofix-ovstart netmon).
>
>There was some discussions on this subject indicated this problem (using
>root to issue ov commands) may be solved by migrating to Netview V5. Can
>someone clarify how is V5 getting around this problem?
>
>Regards
>
>Simon
>
Free web-based email, Forever, From anywhere!
http://www.mailexcite.com
|