This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Changing user ID.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Kurt Roeckx <Q at ping dot be>
- Cc: cygwin at cygwin dot com
- Date: Mon, 25 Nov 2002 17:31:18 -0500 (EST)
- Subject: Re: Changing user ID.
- Reply-to: cygwin at cygwin dot com
On Mon, 25 Nov 2002, Kurt Roeckx wrote:
> I've been trying to log in as an other user under NT.
>
> From the archives I seem to get that su was removed, and that you
> should be using login for it instead, so I've tried to use that.
>
> It comes asking for the password, but always says it failed.
> Anybody got any idea why it's not working?
>
> The user doesn't exist local, but does exist in the domain.
>
> I don't want to try to use sshd/ssh, since I really don't need
> them, but would that work instead?
>
> Kurt
Switching user context on NT-based systems requires special privileges,
which normally belong only to the LocalSystem user. Unless your user has
those privileges, login and others will fail. sshd/ssh will work, since
sshd runs as LocalSystem, and thus has enough privileges to switch the
user.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51
--
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/