|
From: Micah A. <mi...@ri...> - 2003-08-07 16:43:36
|
On Tue, 05 Aug 2003, Robert Helmer wrote: > On Tue, Aug 05, 2003 at 12:18:52PM -0400, Micah Anderson wrote: > > I notice that there is a password file in > > /usr/share/sandweb/users/$user, but it never contains anything... if > > this has my VCS password in it, would this make it so I wouldn't have > > type in my password everytime I wanted to do a CVS operation? > > This file is supposed to be created and used temporarily and then > destroyed. You can choose to store the password in the repository > menu, which actually stores the password in the .user.cfg in > /usr/share/sandweb/users/$username/. > > > DEBUG: SandWeb::Repository::cvs Performing commit operation > > DEBUG: SandWeb::Repository::cvs Writing commit msg to > > /usr/share/sandweb/users/micah/commitmsg (temporarily) > > Does www-data have write access to > /usr/share/sandweb/users/micah/commitmsg > ? Yes, it actually writes the commitmsg, I can see that... its the actual commit that doesn't happen. > -- > /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'" > -- > > Try doing "su - www-data" and running the above command (yes, it's huge > :) just stick it on one line). You are using OpenSSH installed in > /usr/bin/ssh (default Debian location) right? > Its interesting... it asks for my password twice, right after another, when I start typing it, it echo's my passwd, when I type my password and hit return, it doesn't do anything, it just sits there www-data@miso:~/sandweb/micah$ /usr/bin/sandweb-expect vcs /var/www/sandweb/micah/passwd "cd /var/www/sandweb/micah/website/web//mail/english/common && MESSAGE_FILE="/var/www/sandweb/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'" spawn /bin/sh -c cd /var/www/sandweb/micah/website/web//mail/english/common && MESSAGE_FILE=/var/www/sandweb/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' mi...@mi...'s password: mi...@mi...'s password: I also found a number of these processes still hanging around from when I've tried things before, so I had to kill about 20 or 30 of them :) |