This is the mail archive of the
mailing list for the Cygwin project.
Re: CYGWIN setup home directorys for users
- From: Thorsten Kampe <thorsten at thorstenkampe dot de>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Mar 2011 11:09:51 +0100
- Subject: Re: CYGWIN setup home directorys for users
- References: <email@example.com>
* Dale Harrison (Wed, 23 Mar 2011 08:29:56 +0000)
> When creating a user inside CYGWIN using "net user *username* /add",
> could someone tell me the command that I can type to set the home
> directory the user is to land into when the connect?
Sorry, you got it completely wrong. You cannot add a user "inside
Cygwin". "Net user" is a Windows commmand and it allows you to set the
home directory: <http://technet.microsoft.com/en-us/library/cc771865
> When the user is added inside CYGWIN it duly gets added to the Windows
It's actually the other way round. And you have to use mkpasswd to
update Cygwin's passwed.
> but it changing the home directory in the Windows user properties
> doesn't affect where the user lands, currently I have to go into the
> "/etc/passwd" file
It should (see /etc/profile)
> and edit the bit at the end of the user's config to
> "cygdrive/c/wherever" - is there a CYGWIN command line I can use at
> time of user creation to set the home directory?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple