delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <061001c2d4e9$50f46e60$ab7886d9@webdev> |
Reply-To: | "Elfyn McBratney" <cygwin AT cygwin DOT com> |
From: | "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk> |
To: | "cygwin" <cygwin AT cygwin DOT com>, "David Rasmussen" <pinkfloydhomer AT yahoo DOT com> |
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 |
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: <http://www.cygwin.com/ml/cygwin/> , 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |