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 Date: Mon, 9 Jun 2003 21:16:20 -0400 From: "Pierre A. Humblet" To: cygwin AT cygwin DOT com Subject: Re: latest version of vi messes up bash for me Message-ID: <20030610011620.GA363545@hpn5170x> Mail-Followup-To: "Pierre A. Humblet" , cygwin AT cygwin DOT com References: <3EE5572C DOT 20778 DOT 44D0D1 AT localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EE5572C.20778.44D0D1@localhost> User-Agent: Mutt/1.4i On Tue, Jun 10, 2003 at 03:57:32AM +0200, Stephen Biggs wrote: > Maybe it is relevant to say that I am invoking cygwin by the shortcut of: > C:\WINDOWS\COMMAND.COM /E:4096 /c C:\cygwin\bin\login steve > with the /etc/passwd file entries: > user::400:401:user:/home/user:/bin/bash > steve::502:100:steve:/home/steve:/bin/bash > sshd::545:545:sshd::/bin/false > > and /etc/group: > all::544: > users::100: > user::401: > > ... instead of the normal batch file since this is the only way I could > think of to log myself on as another user into Cygwin on Windows 98. > > Perhaps this is what is messing me up, but can anybody tell me a better > way to > do it? I need the user steve so I can use ssh to a different machine. Your passwd file is screwed up. Didn't cygwin generate one for you? If you login into Windows, use the Users control panel, create a user Steve. Log into Windows. Start Cygwin. Cygwin will use the entry for Steve. If you don't log into Windows, Cygwin looks for uid 500. So just put Steve:*:500:544:steve:/home/steve:/bin/bash Don't use uid 400, gid 401, they are reserved for non-existent entries. > Again, > this all worked before I updated my VI package. That's another story. No idea. Use emacs? :) Pierre -- 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/