On Jan 19 18:13, Mike Yoder wrote:
> I see that using password authentication does make the problem go away
> for accounts local to the machine. But if I ssh into this machine
> using a domain account and use password authentication, whoami still
> tells me that I'm the sshd_server. (I built /etc/passwd using
> 'mkpasswd -c -l -d'; when on the console whoami says 'DOMAIN\username'
> as expected) Any ideas why this is?
Maybe you're not using the latest Cygwin version. There were some issues
with previous releases which you can find in the ML archives. Another
chance is that you changed /etc/group so that Cygwin thinks it has to
add groups to your user token after password authentication took place.
Thanks for replying, Corinna. I installed cygwin just a week or two
ago. To my knowledge I haven't touched /etc/group (after mkgroup).
The relevent parts of /etc/passwd and /etc/group follow. When the
Administrator account ssh's in, it becomes Admistrator. When myoder
ssh's in, I'm sshd_server.
/etc/passwd
Administrator:unused_by_nt/2000/xp:500:513:U-WINBUILD1\Administrator,S-1-5-21-15
27866898-1833586698-2942445752-500:/home/Administrator:/bin/bash
myoder:unused_by_nt/2000/xp:11819:10513:Mike Yoder,U-DOMAIN\myoder,S-1-5-21-3
992547366-3650675702-3870580548-1819:/home/myoder:/bin/bash
/etc/group
None:S-1-5-21-1527866898-1833586698-2942445752-513:513:
Domain Users:S-1-5-21-3992547366-3650675702-3870580548-513:10513:
Anyway, I guess the answer to my greater question about the Microsoft
compiler is "no". Thanks for your help.
-Mike Yoder
--
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/