|
From: Rob H. <ro...@ro...> - 2003-08-10 00:25:19
|
On Tue, Aug 05, 2003 at 11:50:54AM -0700, Robert Helmer wrote: > On Tue, Aug 05, 2003 at 12:18:52PM -0400, Micah Anderson wrote: Ah, sorry missed a step here, first create /usr/share/sandweb/users/micah/passwd and populate it with the Unix password for the micah account, e.g -- echo "password" > /usr/share/sandweb/users/micah/passwd -- Then do: -- su - www-data /usr/bin/sandweb-expect vcs /usr/share/sandweb/users/micah/passwd "cd /usr/share/sandweb/users/micah/website/web//mail/english/common && MESSAGE_FILE="/usr/share/sandweb/users/micah/commitmsg" && export MESSAGE_FILE && CVSEDITOR=/usr/bin/sandweb-editor && export CVSEDITOR && SSH_BIN=/usr/bin/ssh && export SSH_BIN && CVS_RSH=/usr/bin/sandweb-ssh && export CVS_RSH && /usr/bin/cvs -q -d ":ext:mi...@mi...:/var/www/webwml" commit 'mail-footer.php'" -- The reason you get two password prompts is that the first attempt is failing, and STDIN is redirected to Expect for that SSH prompt so you can't actually type your password at it. However, it shouldn't just hang there forever. I actually just checked into the release-1_0-branch a fix for this, it will attempt three times (which forces SSH to give expect a "permission denied" error, which we watch for). Also, I reeneabled the inline editor on the tip of that trunk. Here are a couple patches, let me know if they help (this'll be released with 1.0RC4 soon). You can just apply them directly from /usr with "patch -p0 < patchname". -- Rob |