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: Installing Cygwin on XP laptop part of a domain


Billinghurst, David (CALCRTS) wrote:
From: Jay NYC

Can someone who has experience installing Cygwin on a WinXP desktop part of a Windows Domain let me know what to do?

You need to create /etc/passwd and /etc/group files using mkpasswd and mkgroup.


The domain I am in has around 3000 groups and lots of users.
Enumerating all the users takes a while.

All I need to do is (something like):

mkgroup > /etc/group
mkpasswd -l > /etc/passwd
mkpasswd -d -u my_username >> /etc/passwd

The first mkpasswd adds the local accounts and the second invocation adds my domain account. mkpasswd --help for
more details.


Then edit /etc/passwd and change your home directory a local
path - perhaps /home/username.


There's a flag for 'mkpasswd' that let's you specify the home
directory you want directly.  Sorry, don't recall what it is
off-hand and don't have access to it to look right now.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
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]