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: Wed, 11 Sep 2002 12:31:00 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin login and passwords Message-ID: <20020911123100.A1006@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0H29006ODE1000 AT mta6 DOT snfc21 DOT pbi DOT net> <000e01c25975$d87afe20$2050b392 AT csc DOT mrc DOT ac DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000e01c25975$d87afe20$2050b392@csc.mrc.ac.uk> User-Agent: Mutt/1.3.22.1i On Wed, Sep 11, 2002 at 10:30:19AM +0100, Chris January wrote: > > Is changing uid's and gid's in /etc/passwd something > > to be avoided, since I assume these are windows assigned? > > > > Need su and login to work seemlessly with windows' > > passwords in order to allow remote logins and ssh > > clients. Currently, login does not recognize valid > > windows passwords. > I have a version of su that runs on Cygwin. However I need someone to How are you doing that? If you're doing that by giving create token privileges or something like that to your account, that's not a vaild approach. If su is using a service under SYSTEM account, that's ok. But then it's not needed at all since one can just use `ssh localhost' and a running sshd to get the same. > tell me how to coerce bash into running interactively (currently needs > to be forced via -i flag). I'm starting bash using CreateProcess. Login shells get their name preceeded by a dash in argv[0] from their parent: -sh -bash Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/