Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 1 May 2001 11:04:56 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Cygwin for Windows Me Message-ID: <20010501110456.A6812@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <002e01c0d24a$83735340$1300a8c0 AT internal DOT sti> <3AEECD6A DOT 54C41C64 AT yahoo DOT com> <004801c0d24e$7f56f060$1300a8c0 AT internal DOT sti> <20010501105601 DOT A6665 AT redhat DOT com> <3AEECF3B DOT 2CC71F78 AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3AEECF3B.2CC71F78@ece.gatech.edu>; from cwilson@ece.gatech.edu on Tue, May 01, 2001 at 10:59:07AM -0400 On Tue, May 01, 2001 at 10:59:07AM -0400, Charles S. Wilson wrote: >Christopher Faylor wrote: >> >> On Tue, May 01, 2001 at 10:53:34AM -0400, (STi) Michael C. Schatz wrote: >> >In that case is there a way for mkpasswd to maintain shell choice? >> >> mkpasswd >> vi /etc/passwd >> :%s%/bin/sh%/bin/bash% >> ZZ > >---mymkpasswd---- >#!/bin/sh >mkpasswd >cat /etc/passwd | sed -e 's#/bin/sh#/bin/bash#' > /tmp/passwd >mv /tmp/passwd /etc/passwd >----------------- Aha! Script wars! I'll stop here. You win. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple