Author: Craig Barratt <cbarratt AT users.sourceforge DOT net>
Date: Tue, 1 Dec 2009 07:47:13 -0800
directly without a shell which means I have to either wrap it in a Yes. It's not the overhead - the goal is to avoid potential security issues with shells (which come from all the flexibility it offe
Author: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Tue, 01 Dec 2009 13:54:29 -0500
Craig Barratt wrote at about 07:47:13 -0800 on Tuesday, December 1, 2009: What about offering shells as a user-configurable option? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a f
Author: "Tyler J. Wagner" <tyler AT tolaris DOT com>
Date: Tue, 1 Dec 2009 22:37:25 +0000
That option exists. Just start your command as: bash -c "command" Tyler -- "Every normal man must be tempted at times to spit on his hands, hoist the black flag, and begin to slit throats." -- H. L.
Author: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Tue, 24 Nov 2009 11:37:41 -0500
As many know, I use rsync in DumpPreUserCmd to run my shadowmountrsync routine on the remote client. This routine has many legitimate reasons for not returning success. However, the backuppc log ofte
Author: Craig Barratt <cbarratt AT users.sourceforge DOT net>
Date: Thu, 26 Nov 2009 09:51:53 -0800
It's 256 * exitStatus, so the exit status is 2. The lower 8 bits are the signal number, if any, that killed the process. Craig $? The status returned by the last pipe close, backtick ("``") command,
Author: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Fri, 27 Nov 2009 09:26:26 -0500
Craig Barratt wrote at about 09:51:53 -0800 on Thursday, November 26, 2009: Thanks Craig... So, I guess if I want to return the exit code of the remote process I am running (shadowmountrsync) then I
Author: Tino Schwarze <backuppc.lists AT tisc DOT de>
Date: Fri, 27 Nov 2009 15:40:56 +0100
I'm not familiar with how you call the script, but ssh does pass back the exit codes: jo And if you're concerned about your remote script catching some exit code, it works like this: $somecommand sa
Author: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
Date: Fri, 27 Nov 2009 09:49:29 -0500
Ignore my previous message - it made no sense - comes from getting up at 4AM for Black Friday sale... Jeffrey J. Kosowsky wrote at about 09:26:26 -0500 on Friday, November 27, 2009: -- Let Crystal Re