Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-mimeole: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: mkpasswd usage in passwd-grp.sh Date: Fri, 13 Jun 2003 13:51:04 -0400 Message-ID: <3D848382FB72E249812901444C6BDB1DE4DDFB@exchange.timesys.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Robb, Sam" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h5DHuF031977 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? -Samrobb -- 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/