Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <061001c2d4e9$50f46e60$ab7886d9@webdev> Reply-To: "Elfyn McBratney" From: "Elfyn McBratney" To: "cygwin" , "David Rasmussen" References: <20030215114756 DOT 94355 DOT qmail AT web40811 DOT mail DOT yahoo DOT com> Subject: Re: Adding new user Date: Sat, 15 Feb 2003 11:56:46 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > I can imagine that this must get asked all the time, > yet I wasn't able to find anything useful on Google or > anywhere else. > > How do I create a new user account? I know that it > probably has to exist as a Windows user first. So I > created a new Windows user. But then what? How do I > get cygwin to make a /home/newuser dir and understand > that the user exists (in /etc/passwd etc.) so I can do > "su - newuser" etc. ? A la Cygwin Archives: , use the search box at the top of the page. You'll find one answered by me ;-) Once the user/group is added use mkpasswd or mkgroup respectively to add the user the /etc/{passwd,group}: mkpasswd -u USERNAME and -d (for domain users) or -l (for local users) Check out `mkpasswd --help' or `mkgroup --help' for a full list of options. You'll need to login as the user to create the home directory, and Btw su does not exists in the cygwin distro. Try ssh instead... Regards, Elfyn McBratney elfyn AT exposure DOT org DOT uk www.exposure.org.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/