This is the mail archive of the
cygwin
mailing list for the Cygwin project.
group"S-1-2-0"(users who login locally)in ssh;windows 2003
- From: cygzz at trodman dot com (Tom Rodman)
- To: cygwin at cygwin dot com
- Date: Wed, 16 Aug 2006 13:21:02 -0500
- Subject: group"S-1-2-0"(users who login locally)in ssh;windows 2003
- Reply-to: cygwin at cygwin dot com
Hosts effected:
several boxes running windows 2003 server w/cygwin (1.5.20s(0.155/4/2) 20060403 13:33:45)
Problem (or feature?):
when you ssh to these boxes, and run:
$WINDIR/system32/whoami /all |grep -q S-1-2-0 || echo OOPs # "OOPS" echos :-<
"S-1-2-0" == "Users who log on to terminals locally (physically) connected to the system."
Under windows 2000 (also a different cygwin version), ssh sessions show group membership
in "S-1-2-0":
$ '/drv/c/Program Files/Resource Kit/whoami' /all|grep S-1-2-0
[Group 9] = "LOCAL" S-1-2-0
The reason I care is that is that several tools we call from cygwin, will
not run unless the session is in S-1-2-0.
I'm not sure if this is a cygwin version issue, or due to windows 2003.
Any thoughts/can others test this in an ssh session?:
$WINDIR/system32/whoami /all |grep -q S-1-2-0 || echo OOPs
--
thanks,
Tom Rodman
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/