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, 11 Apr 2003 13:30:24 -0400
From: "Pierre A. Humblet" <pierre.humblet@ieee.org>
To: cygwin@cygwin.com
Subject: Re: cron + network share(w/ full access?)
Message-ID: <20030411173024.GA165765@Worldnet>
References: <20030411014720.GA4240@TGUN> <20030411015650.GA35059733@hpn5170x> <20030411180224.GA1712@TGUN> <3E970DAB.CB1DDEDE@ieee.org> <20030411192133.GA1740@TGUN>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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/

