This is the mail archive of the cygwin@cygwin.com 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 network users


The best documentation at this point is the User's Guide and the 
mail archives.  The problems with getting a proper /etc/passwd and
/etc/group file set up for domain users has been discussed quite a
bit in the email archives.  You may want to review these discussions.

The post install script for creating the passwd and group files should
be in your /etc/postinstall directory (and appropriately named).  You can
check to see whether it calls 'mkpasswd' and 'mkgroup' with the appropriate
options for you needs.  Sounds like you're having trouble with getting 
domain users into the password file.  This has been part of the ongoing
discussion.  You probably just need to run mkpasswd with the -d flag to 
clear up the problems (use -u too if your domain is large).  See 'man
mkpasswd' and 'man mkgroup' for details.

Larry


Original Message:
-----------------
From: Alan Westhagen afw@u.washington.edu
Date: Thu, 30 Jan 2003 13:41:31 -0800
To: cygwin@cygwin.com
Subject: Installing network users


In our lab, workstations run W2000 and users are
installed as network users.  Here's what we would
like to do:

- Install Cygwin for all users of a giving machine
- Have home directories created automatically for all users
- Have skeleton .bash_profile and .bashrc files placed
	automatically in each home directory

Using setup.exe, we have run into some problems with
user initialization.

1.  A windows network user can install cygwin, but when
	she starts up a shell window, her home directory
	is not set up properly.

2.  When a windows local user installs cygwin, the
	home directory seems to set up properly.
     When that person logs in as a network user, things
	still appear to work.
     When another network user logs in, he
	home directory is not set up properly.

Is there any documentation on how to set up users in
various configurations?

Are there shell scripts for setting things up?  I don't
mean just cygwin versions of useradd, etc.  I mean
scripts that know how to interact with the windows
operating system as well as cygwin.

Any hints would be very welcome.

-- Alan Westhagen



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


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



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


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