home directory problem

5 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
home directory problem

Hi,
I want to know how I can change the home directory. I know how it works with OpenSSH for Windows, so I thought this is the same.
But it is not.

The service don't work anymore. It works only if I turn back the home directory to the default setting.

I use the latest version. (version 1.3.2)

Best regards,
Lars.

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: home directory problem

copSSH assumes that every activated user gets a home directory under /home. This is a design limitation.
The main reason to this limitation is CYGWIN=NTSEC, which is required by OpenSSH. That means cygwin can manipulate windows access control lists. I am comfortable when these manipulations occur WITHIN the copSSH world. They can be controlled and have no side effects. The same cannot be said if they happen OUTSIDE, where they can influence the whole system.

What you can do is to create a link/shortcut to your real home directory from home directory in copSSH.

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: home directory problem

Oke, thanks.
I will try it.

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: home directory problem

I tried adding a shortcut to the directory I wanted to be the home directory and it didn't work. Are there any other options to change the home directory for users? I'm familiar with the OpenSSH for windows but it's incompatibility with server 2003 has got me looking for other solutions. I'm used to changing a reg key Cygwin folder. Thanks for any help

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: home directory problem

Hi,
During user activation, copSSH updates access to home directory. That's the reason why I don't want to use users' existing home directories.

I released copSSH 1.3.3 today. One of the new features creates a symbolic link/shortcut to your real home directory.

Can you give it a try ?

Otherwise, as a non-supported tweak, you can try to mount /home to your Documents and Settings root :

bash prompt # mount `cygpath -H -w` /home

Topic locked

Release announcements