hgsh in contrib

Sean Kelley svk.sweng at gmail.com
Wed Jun 13 14:45:55 UTC 2007


I have compiled hg.ssh with the following defines:

#define HG_GATEWAY NULL

#define HG_HOST NULL

#define HG_USER "mercurial"

#define HG_ROOT "/data/mercurial"

#define HG "/usr/bin/hg"

#define HG_SHELL "/bin/bash"


However, I cannot get SU or SCP to work with that account on the
server.  I thought that if I enable HG_SHELL and map it to /bin/bash
then if I am logged into the server I can SU the 'mercurial' account.
That does not seem to work.  Neither does scp.

Any suggestions?

San



More information about the Mercurial mailing list