This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Corinna or Pierre please comment? [jason@tishler.net: Re: setuid()problem when disconnected from PDC under 1.3.12-2]


On Tue, Jul 16, 2002 at 03:17:35PM -0400, Jason Tishler wrote:
> On Mon, Jul 15, 2002 at 04:25:35PM -0400, Pierre A. Humblet wrote:
> > Jason, can you telnet into the machine as a domain user when
> > disconnected from the PDC for a long time? If so are the groups (from
> > id) the same as when you are connected (working with an /etc/group
> > that includes the domain groups)? (just curious).
> 
> I was thinking of trying the above experiment myself.  I will disconnect
> before I leave work today and try first thing tomorrow.  I will report
> back then.

After being disconnected for about 14 hours, I ran id under the
following conditions:

    1. bash
    2. telnet
    3. ssh with password exchange

All of the above cases, returned identical results:

    $ id
    uid=19695(jt) gid=10513(Domain Users) groups=0(Everyone),544(Administrators),545(Users),10513(Domain Users)

So, it appears that I can get my domain group(s) from the cached
credentials even after being disconnected from my PDC for a "long" time
when I logon with a password.  Where do we go from here?

Thanks,
Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]