Mail Archives: cygwin/2003/02/26/09:57:26
On Tue Feb 25 22:57:34 2003, Pierre A. Humblet wrote:
> At 11:09 AM 2/24/2003 -0500, Ajay Simha wrote:
> >On Mon Feb 24 10:32:51 2003, Pierre A. Humblet wrote:
> >> On Mon, Feb 24, 2003 at 10:24:58AM -0500, Ajay Simha wrote:
> >> > > -rwxrwxrwx 1 1040 65535 162 Feb 24 10:10
> ~$LS_capability_Questionnaire.doc
> >> > > ^^^^^
> >> This is unlikely to be the source of the problem, but just to
> >> figure out what's going on, try
> >
> >[asimha AT asimha-w2k02 /tmp]$ strace chmod 776
> '~$LS_capability_questionnaire.doc' | fgrep SID
> > 174 61576 [main] chmod 2460 cygpsid::debug_print: alloc_sd:
> owner SID = S-1-5-21-1801674531-2025429265-839522115-5320 <===== Who
> is 5320?
> > 252 61828 [main] chmod 2460 cygpsid::debug_print: alloc_sd:
> group SID = S-1-5-21-1801674531-2025429265-839522115-513 <===== this
> is "None"
>
> Ajay, here is a better answer.
>
> You write '<===== this is "None"', but in an earlier message you gave us your
> group file with
> None:S-1-5-21-1458511060-810114045-807829424-513:513:
> so it isn't None.
>
> You write '<===== Who is 5320?'
> and I think it's you.
>
> This is my explanation: you are running under a domain account and you have
> not
> executed mkpasswd -d nor mkgroup -d
Thanks for the reply.
So here is my try at -d option:
[asimha AT asimha-w2k02 ~]$ cp /etc/passwd /tmp
[asimha AT asimha-w2k02 ~]$ cp /etc/group /tmp
[asimha AT asimha-w2k02 ~]$ mkpasswd -d > /etc/passwd
mkpasswd: [5] Access is denied. <========
[asimha AT asimha-w2k02 ~]$ more /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
[asimha AT asimha-w2k02 ~]$ cp /tmp/passwd /etc/.
[asimha AT asimha-w2k02 ~]$ more /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-ASIMHA-W2K02\Administrator,S-1-5-21
-1458511060-810114045-807829424-500:/home/Administrator:/bin/bash
asimha:unused_by_nt/2000/xp:1040:513:Ajay Simha,U-ASIMHA-W2K02\asimha,S-1-5-21-1
458511060-810114045-807829424-1040:/home/asimha:/bin/tcsh
Guest:unused_by_nt/2000/xp:501:513:U-ASIMHA-W2K02\Guest,S-1-5-21-1458511060-8101
14045-807829424-501:/home/Guest:/bin/bash
[asimha AT asimha-w2k02 ~]$
-ajay
> You also have a local account with the same name. When you enter Cygwin from
> Windows, Cygwin finds an entry under your name and does its best to use it,
> among other things creating files with the gid of your local account and
> mapping
> the local uid to the domain sid.
> However MS Word uses your domain account gid, which is missing from
> /etc/group.
> Hence the ???????.
>
> Pierre
>
>
>
--
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 -