![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
One more thing ((c) 2010). It is a TOTAL pain in that with ISM you have to be root to run the backup commands. The root user round here is under tighter security than a very nervous camel's backside in a very powerful sandstorm. They are really NOT happy about adding anything to root cron or 'at' or into their imprenetrable schedule, and database backups don't register much if at all on their 'things we want/need/have to do' radar. Is there any way at all of allowing the informix user to run the backup commands without ISM triggering the "07/27/10 10:15:41 savegrp: You are not authorized to run this command" error? It basically means that no bootstrap file can be created if user informix runs the backups (whether database ot logical log) |
#3
| |||
| |||
|
|
"Malc" <i... (AT) perrior (DOT) net> wrote in message news:1cb6c095-0543-4031-9c82-d8d5d5f5bbd2 (AT) b5g2000vbl (DOT) googlegroups.com... One more thing ((c) 2010). It is a TOTAL pain in that with ISM you have to be root to run the backup commands. The root user round here is under tighter security than a very nervous camel's backside in a very powerful sandstorm. They are really NOT happy about adding anything to root cron or 'at' or into their imprenetrable schedule, and database backups don't register much if at all on their 'things we want/need/have to do' radar. Is there any way at all of allowing the informix user to run the backup commands without ISM triggering the "07/27/10 10:15:41 savegrp: You are not authorized to run this command" error? It basically means that no bootstrap file can be created if user informix runs the backups (whether database ot logical log) sudo? |
#4
| |||
| |||
|
|
sudo? |
#5
| |||
| |||
|
|
From: neil.truby (AT) ardenta (DOT) com Subject: Re: ISM - run backups as a user other than root? Date: Tue, 27 Jul 2010 16:02:37 +0100 To: informix-list (AT) iiug (DOT) org "Malc" <iiug (AT) perrior (DOT) net> wrote in message news:1cb6c095-0543-4031-9c82-d8d5d5f5bbd2 (AT) b5g2000vbl (DOT) googlegroups.com... One more thing ((c) 2010). It is a TOTAL pain in that with ISM you have to be root to run the backup commands. The root user round here is under tighter security than a very nervous camel's backside in a very powerful sandstorm. They are really NOT happy about adding anything to root cron or 'at' or into their imprenetrable schedule, and database backups don't register much if at all on their 'things we want/need/have to do' radar. Is there any way at all of allowing the informix user to run the backup commands without ISM triggering the "07/27/10 10:15:41 savegrp: You are not authorized to run this command" error? It basically means that no bootstrap file can be created if user informix runs the backups (whether database ot logical log) sudo? |
#6
| |||
| |||
|
|
sudo? |
#7
| |||
| |||
|
|
On 27/07/2010 16:08, Malc wrote: sudo? man sudoers no passwords required Ah promising - set up an alias and assign the command string to that |
#8
| |||
| |||
|
|
On Jul 27, 4:18 pm, Clive Eisen<cl... (AT) serendipita (DOT) com> wrote: On 27/07/2010 16:08, Malc wrote: sudo? man sudoers no passwords required Ah promising - set up an alias and assign the command string to that alias with NOPASSWD set... Hmm - looks like the call to 'savegrp' is made from within the legato executable; experimentation is in order then! Hmnn |
#9
| |||
| |||
|
|
On 27/07/2010 16:50, Malc wrote: On Jul 27, 4:18 pm, Clive Eisen<cl... (AT) serendipita (DOT) com> wrote: On 27/07/2010 16:08, Malc wrote: sudo? man sudoers no passwords required Ah promising - set up an alias and assign the command string to that alias with NOPASSWD set... Hmm - looks like the call to 'savegrp' is made from within the legato executable; experimentation is in order then! Hmnn Well that means you will have to run legato sudo As you still need to 'type' sudo savegrp to make it happen even with sudoers Other thoughts 1) suid 2) use sudoers and binary edit the legato binary to get it to call say Savegrp 2a) where Legato is a script that execs sudo savegrp $@ or 2b) If your sysadmins don't like a script you can write a bit of C that does the same Sorry missed one |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |