Mail Archives: cygwin/2002/11/25/17:31:50
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/
- Raw text -