delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/30/17:02:11

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: <184670-2200314302222599@M2W030.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: afw AT u DOT washington DOT edu, cygwin AT cygwin DOT com
Subject: RE: Installing network users
Date: Thu, 30 Jan 2003 17:02:02 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 30 Jan 2003 22:02:02.0617 (UTC) FILETIME=[381CCE90:01C2C8AB]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0UM2AR29794

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 AT u DOT washington DOT edu
Date: Thu, 30 Jan 2003 13:41:31 -0800
To: cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019