Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 17 Oct 2003 15:52:03 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: setreuid
Message-ID: <20031017135203.GU25076@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20031015105210.GF18774@ata.cs.hacettepe.edu.tr> <20031016103723.GA5542@ata.cs.hacettepe.edu.tr> <20031016125317.GB5542@ata.cs.hacettepe.edu.tr> <20031016142337.GC5542@ata.cs.hacettepe.edu.tr> <20031017135231.GA12904@ata.cs.hacettepe.edu.tr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031017135231.GA12904@ata.cs.hacettepe.edu.tr>
User-Agent: Mutt/1.4.1i

On Fri, Oct 17, 2003 at 04:52:34PM +0300, Baurjan Ismagulov wrote:
> > Btw., if you're planning to use that account as logon account, don't
> > give these rights to that account.  That's very dangerous.
> 
> Because of possible privilege escalation, or are there any other
> implications?

Yes, no. ;-)

> > Start a
> > service under system account as inetd and let it handle the user context
> > switch.
> 
> Thanks for the tip, I'll do so.

To be more correct:  Start inetd or xinetd as service, and add rsync to
/etc/inetd.conf or /etc/xinetd.d/.  Or, if rsync can handle this (I don't
know), start it directly from cygrunsrv also under SYSTEM account.

Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

