delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/04/13:39:04

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
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: convey Information Systems GmbH
To: cygwin AT cygwin DOT com
Date: Fri, 4 May 2001 19:35:43 +0200
MIME-Version: 1.0
Subject: (Fwd) CYGWIN=nontsec nontea ???
Reply-to: gerrit AT familiehaase DOT de
Message-ID: <3AF3048F.13957.1EEBA8D@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

That is dubios...
will it work if i set ntsec and ntea?

root AT ISMENE ~
$ id
uid=500(root) gid=544(root) groups=544(root)

root AT ISMENE ~
$ /usr/sbin/fetchnews -vvv
/usr/sbin/fetchnews: must be run as news or root


From the source:

    setgid( pw->pw_gid );
    setuid( pw->pw_uid );
    if ( getuid() = pw->pw_uid || getgid() = pw->pw_gid ) {
        fprintf( stderr, "%s: must be run as news or root\n", progname );
        return FALSE;
    }

Is getuid or getgid not working on cygwin?

gph

-- 
Gerrit P. Haase

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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