delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/07/04:54:08

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
Message-ID: <39B75782.82188608@cygnus.com>
Date: Thu, 07 Sep 2000 10:53:22 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: setuid and seteuid
References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000906180857 DOT 00b53878 AT postoffice DOT swbell DOT net>

Ed Eden wrote:
> >if I do an 'su - guest' or 'su - tuser1' , I get
> >
> >'su: cannot set user id: Not owner'

You can't change user context without giving a password
and if the process has special permissions.

> >1. should there be a root with uid 0 and should Everyone be something
> >else?

All one.

> >2. I read the changes in 1.1.3 about the extra function calls to
> >support setuid, where is the best documentation and hopefully some
> >examples for this.

If you have installed the whole net release:

/usr/doc/Cygwin/inetutils-1.3.2.README

else install inetutils from cygwin/latest from your favorite mirror.

Example: sources of `login' as well from your favorite mirror.

cygwin/latest/login/login-1.4-src.tar.gz

Hope, that helps,
Corinna

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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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