delorie.com/archives/browse.cgi | search |
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 |
X-Info: | This message was accepted for relay by |
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication | |
X-Trace: | UmFuZG9tSVZqf3ywk/289z1+A1uhsuP1vWWp9aGJfzqRl9lGqNR+CHJzmUktFJqG |
Message-ID: | <3EEA1700.4010106@cygwin.com> |
Date: | Fri, 13 Jun 2003 14:25:04 -0400 |
From: | Larry Hall <cygwin-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | "Robb, Sam" <sam DOT robb AT timesys DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: mkpasswd usage in passwd-grp.sh |
References: | <3D848382FB72E249812901444C6BDB1DE4DDFB AT exchange DOT timesys DOT com> |
In-Reply-To: | <3D848382FB72E249812901444C6BDB1DE4DDFB@exchange.timesys.com> |
Robb, Sam wrote: > I've noticed an odd behavior from mkpasswd (as run from > the postinstall script passwd-grp.sh) when installing > Cygwin. > > I've been testing the command-line options from the > CVS head, so I've done this a couple of times. For > these tests, I'm logged in and installing as a domain > user. > > In a clean install, the postinstall script passwd-grp.sh > runs the command: > > /bin/mkpasswd -l -c > /etc/passwd > > This generates a password file that an entry that looks like: > > sam.robb:...:/cygdrive/c:/bin/bash > > Note the home directory is '/cygdrive/c'. The home > directories for the local accounts are as expected, > ex. '/home/administrator', etc. > > If I run "/bin/mkpasswd -l -c -p /home" from the command > line, I get an entry with the expected home dir set: > > sam.robb:...:/home/sam.robb:/bin/bash > > Is there any reason why passwd-grp.sh shouldn't or > couldn't be modified to specify the '-p /home' option? It could be modified to do this. However, I think one could make an argument that this change would result in "unexpected" home directories for others who want their home directory to be dictated by their Windows account information. But maybe not. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |