This is the mail archive of the cygwin-apps@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: NFS server (final?)


On Wed, Feb 12, 2003 at 02:25:02PM -0500, Robb, Sam wrote:
> > > > Unable to seteuid(0): Invalid argument
> 
> Grrr... I've been completely unable to reproduce this
> problem.  The only difference seems to be that I am
> logged in to my W2K machine as a domain user, while
> it looks like you're logged in locally.
> 
> Perhaps one of the gurus has an idea as to why seteuid(0)
> would fail?  It should switch over the security token
> to that of the Administrator account, yes?

Only if you changed the uid of the Administrator account to 0 by hand.

If you actually switch the user context, the application must not rely
on having uid 0 == root or having uid 0 at all.  

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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