delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/11/15:25:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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, 11 Apr 2003 13:30:24 -0400
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: cron + network share(w/ full access?)
Message-ID: <20030411173024.GA165765@Worldnet>
References: <20030411014720 DOT GA4240 AT TGUN> <20030411015650 DOT GA35059733 AT hpn5170x> <20030411180224 DOT GA1712 AT TGUN> <3E970DAB DOT CB1DDEDE AT ieee DOT org> <20030411192133 DOT GA1740 AT TGUN>
Mime-Version: 1.0
In-Reply-To: <20030411192133.GA1740@TGUN>
User-Agent: Mutt/1.4i

On Fri, Apr 11, 2003 at 12:21:33PM -0700, Tim Gunter wrote:
> > Right. Looks like 18 is hardwired in cron.
> > So after you create that user and update the /etc/passwd file you would need to edit 
> > /etc/password and change the uid of the user to 18. With a little bit of luck
> > the setuid(18) will be a noop. 
> > Try keeping the SYSTEM uid to 18, too, for now. It's probably hardwired too. 
> > My head is spinning and I don't have the time to sort through all the implications.
> 
> ok, changing the uid to 18 in the passwd file did it.
>
Out of curiosity, which 18 comes first in /etc/passwd?
System or the new user?

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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