Cygwin for Windows Me
Charles S. Wilson
cwilson@ece.gatech.edu
Tue May 1 07:57:00 GMT 2001
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
-----------------
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list