Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.