This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setreuid


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]