This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
(Fwd) CYGWIN=nontsec nontea ???
- To: cygwin at cygwin dot com
- Subject: (Fwd) CYGWIN=nontsec nontea ???
- From: "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
- Date: Fri, 4 May 2001 19:35:43 +0200
- Organization: convey Information Systems GmbH
- Reply-to: gerrit at familiehaase dot de
That is dubios...
will it work if i set ntsec and ntea?
root@ISMENE ~
$ id
uid=500(root) gid=544(root) groups=544(root)
root@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