Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bunch of users that I'd like to set the default HOME directory for so that when they log into SSHD running on Cygwin on Windows Server 2008, they get set at a specific directory (C:\sandboxsites\$USER)

Any idea on how you can do this with Cygwin/SSHD?

I followed these instructions to setup SSHD on Windows http://lifehacker.com/205090/geek-to-live--set-up-a-personal-home-ssh-server

share|improve this question
up vote 1 down vote accepted

Set their home directory in /etc/passwd (see this answer to a somewhat similar question on Stack Overflow).

share|improve this answer
    
Perfect, thank you! – Ken Sykora Sep 21 '12 at 18:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .