This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I figure out why LogonUserA is failing?


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]