delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/23/04:30:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_50
X-Spam-Check-By: sourceware.org
From: Dale Harrison <dale DOT harrison AT zen DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: CYGWIN setup home directorys for users
Date: Wed, 23 Mar 2011 08:29:56 +0000
Message-ID: <0d0701cbe934$7dceb0e0$796c12a0$@zen.co.uk>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi all, using CYGWIN as an SFTP server on a Windows 2000 server (yes, YIKES!
Win 2k!!)

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?

When the user is added inside CYGWIN it duly gets added to the Windows
users, 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  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?

Many thanks :-)




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019