delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/22/02:03:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 22 Aug 2001 08:02:44 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin's CVS - can it be a network server?
Message-ID: <20010822080244.F17561@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <8BFEC206D292D311921500508B0BCB8D0883DE9B AT msgstl01 DOT sbc DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <8BFEC206D292D311921500508B0BCB8D0883DE9B@msgstl01.sbc.com>; from ja7295@sbc.com on Tue, Aug 21, 2001 at 06:50:01PM -0500

On Tue, Aug 21, 2001 at 06:50:01PM -0500, ASH, JAMES (SBCSI) wrote:
> I believe I have answered my own question. The answer is, yes, it can run as
> a remote server.
> 
> I am running the cvs 1.11 from the cygwin distribution on an NT box and am
> able to access it from the AIX box I am using, as well as from other NT
> boxes with cygwin installed. I write this in case someone else can benefit
> from this.
> 
> I still have an issue. I am able to do this if:
> 1) I run the inetd on the server as 'Administrator'
> 2) I login from the remote cvs client to the cvs pserver as 'Administrator'.
> 
> This account is setup on the NT server as an NT user with no password via
> NT's User Manager.
> 
> The inetd is currently not running with ntsec.
> 
> If I try to connect as anything but 'Administrator', I get the message
> setuid failed:not owner. (I created a new NT account and attempted to
> connect using that account, having setup the appropriate pserver passwd,
> etc...)
> 
> In all cases, if the inetd is running under the same account as the cvs
> account I have created, all works fine.
> 
> My question is this: What is "setuid failed: Not owner" trying to tell me?
> Which process is trying to accomplish a setuid? Is it the inetd or the cvs
> pserver?

It's cvs. Inetd never changes user context. setuid failed since
you have to use ntsec and you have to care for your /etc/passwd
and /etc/group files to switch user context.

Corinna

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

--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019