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 16:44:33 +0100 From: Corinna Vinschen To: cygwin Subject: Re: How do I figure out why LogonUserA is failing? Message-ID: <20011113164433.B21980@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <6049-Tue13Nov2001114158+0000-starksb AT ebi DOT ac DOT uk> <200111131500 DOT KAA20990 AT acestes-fe0 DOT ultra DOT net> <4 DOT 3 DOT 1 DOT 2 DOT 20011113100254 DOT 02224a60 AT pop DOT ma DOT ultranet 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: <4.3.1.2.20011113100254.02224a60@pop.ma.ultranet.com>; from lhall@rfk.com on Tue, Nov 13, 2001 at 10:06:25AM -0500 On Tue, Nov 13, 2001 at 10:06:25AM -0500, Larry Hall (RFK Partners, Inc) wrote: > At 09:59 AM 11/13/2001, Mark Paulus wrote: > >So, > > > >If I understand this little diddy, one shouldn't just up and do a > >"login root"? If that is the case, then what does one do to "become" > >another user? I have gotten it to work by telnetting back to my machine > >and logging in as root that way, but that is rather "klunky", in my opinion. You're right... from a POSIX system point of view. However, we're on a Windows system. NT has a completely different way of handling security issues. Cygwin is just a user space DLL on top of Win32 and (sometimes) native NT API. You know the `Run as user' functionality on W2K/XP? It's done the same "klunky" way as if you use Cygwins' telnet/rlogin/ssh to change user context. It's using a service process running under SYSTEM account. Surprise, surprise... 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/