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 Date: Thu, 5 Feb 2004 18:17:26 +0100 From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Re: adding a user in cygwin Message-ID: <20040205171726.GA12087@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <loom DOT 20040205T162721-210 AT post DOT gmane DOT org> <20040205160608 DOT GB10997 AT ata DOT cs DOT hacettepe DOT edu DOT tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040205160608.GB10997@ata.cs.hacettepe.edu.tr> User-Agent: Mutt/1.4.1i On Feb 5 18:06, Baurjan Ismagulov wrote: > Hello, Tony. > > On Thu, Feb 05, 2004 at 03:29:35PM +0000, Tony wrote: > > We have setup cygwin on an 2000 server and have the need to add a user to > > the box. We have added the user to the local admins and want to update > > the /etc/passwd file to reflect this. Do you have to do a recreation of > > the /etc/passwd file or is there a "useradd" command? > > Does "mkpasswd -l |grep ^newuser: >>/etc/passwd" work for you? Or you > can recreate it if you haven't customized it. mkpasswd -u <username> Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/