This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: adding a user in cygwin


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]