Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 17 Oct 2003 15:52:03 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: setreuid Message-ID: <20031017135203.GU25076@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20031015105210 DOT GF18774 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20031016103723 DOT GA5542 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20031016125317 DOT GB5542 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20031016142337 DOT GC5542 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20031017135231 DOT GA12904 AT ata DOT cs DOT hacettepe DOT edu DOT 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 AT cygwin DOT 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/