Redirect to home directory using cygdrive

2 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 30 min ago
Joined: 01.05.2008 - 21:33
Redirect to home directory using cygdrive

With previous installations of Cygwin I redirected SSH to alternate home directories by editing the path in the etc/passwd file.
Specifically, I replaced

:/home/user:/bin/bash

with

:/cygdrive/path_to_alternate_home:/bin/bash.

I tested this with copSSH and it seems to work fine. Is this method not recommended for copSSH? Might it cause unforseen problems? If so, is there an alternate preferred method?

itefix
Offline
Last seen: 2 weeks 30 min ago
Joined: 01.05.2008 - 21:33
Re: Redirect to home directory using cygdrive

Hi,
If it works for you, ıt's fine :-)

Topic locked

Release announcements