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, 13 Nov 2001 10:04:34 +0100 From: Corinna Vinschen To: "cygwin AT cygwin DOT com" Subject: Re: How do I figure out why LogonUserA is failing? Message-ID: <20011113100434.A18765@cygbert.vinschen.de> Mail-Followup-To: "cygwin AT cygwin DOT com" References: <200111122339 DOT PAA19144 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111122339.PAA19144@cygnus.com>; from commpg@yahoo.com on Mon, Nov 12, 2001 at 04:39:04PM -0700 On Mon, Nov 12, 2001 at 04:39:04PM -0700, Mark Paulus wrote: > Hi, > > I've tried various permutations of things in /etc/passwd in order > to make login work, and I can't seem to get the correct things worked. > > My machine is running Win2K/SP2, connected to a domain, and > roaming profiles are enabled. I have tried doing a mkpasswd -l > and then doing a login with my normal windows password, > and failure. > I have tried doing a mkpasswd -d and then doing a login > with my normal windows passwd, and failure. > > Where/what is the silver bullet to getting this login stuff to work. > I ultimately want to be able to define root as a user, and be able to > login to that account for some work, but I can't seem to get any > of it working. I have read the NT security and the ntsec usage > guide, and I think I comprehend most of what's in there, but I > can't figure out this one.... > > Any pointers would be appreciated.... LogonUser/CreateProcessAsUser need special user rights. This rights are not given to user accounts, not even to admins. Only SYSTEM has that user rights by default. That's the reason that login only works when started from telnetd or rlogind, started from inetd which itself is running as service under SYSTEM account. login(1) is not intended for use on the command line under Cygwin. Shouldn't we create a FAQ for that? 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/