Mail Archives: cygwin/2006/12/15/12:34:01
Srivatsa wrote:
>>> /cygdrive/z $cat /etc/passwd
>>> SYSTEM:*:18:544:,S-1-5-18::
>>> Administrators:*:544:544:,S-1-5-32-544::
>>> Administrator:unused_by_nt/2000/xp:500:513:U-SRIVRAMA-WXP\Administrator,
>>> S-1-5-21-3899866716-1901569443-1718271970-500:/cygdrive/c/Documents and
>>> Settings/Administrator:/bin/bash
>>> srivrama::185623:25:U-SRIVRAMA-WXP\srivrama,
>>> S-1-5-21-3899866716-1901569443-1718271970-500:/home/srivrama:/bin/bash
>>>
>>>
>>> /cygdrive/z $ cat /etc/group
>>> root:S-1-5-32-544:0:
>>> SYSTEM:S-1-5-18:18:
>>> eng10:S-1-5-21-3899866716-1901569443-1718271970-513:25:
>>> Administrators:S-1-5-32-544:544:
>>> Backup Operators:S-1-5-32-551:551:
>>> Guests:S-1-5-32-546:546:
>>> Network Configuration Operators:S-1-5-32-556:556:
>>> Power Users:S-1-5-32-547:547:
>>> Remote Desktop Users:S-1-5-32-555:555:
>>> Replicator:S-1-5-32-552:552:
>>> Users:S-1-5-32-545:545:
>>> Debugger Users:S-1-5-21-3899866716-1901569443-1718271970-1004:1004:
>>> HelpServicesGroup:S-1-5-21-3899866716-1901569443-1718271970-1001:1001:
>>> Offer Remote Assistance
>>> Helpers:S-1-5-21-3899866716-1901569443-1718271970-1006:1006:
>>>
>>>
>>> /cygdrive/z $ ssh remote_server id
>>> uid=185623(srivrama) gid=25(eng10)
>> This looks like a domain login with a local group ID. It's not obvious that
>> this would be a problem but perhaps you want to regenerate your '/etc/passwd'
>> and '/etc/group' files.
>>
>
> To clarify on the group-id, my UNIX server had separate group-id and
> uid
> [uid=185623(srivrama) gid=25(eng10)] where as in cygwin /etc/passwd
> and
> /etc/group - after running mkpasswd and mkgroup assigned default
> ones.
Ah, forgive me. When I first read through your output, I thought you were
actually 'ssh'ing into your box and trying to access the remote file system
after that.
> Also, the my XP belongs to different domain compared to unix-servers.
Well that's interesting. Can you attach your 'cygcheck'.
> Under these conditions, would you suggest to keep same id or to
> regerate
> the /etc/passwd files.
I think it would be worthwhile to see what
'mkpasswd -d <unix server> -u srivrama' says.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
- Raw text -