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 Message-ID: <3D2077F5.1000505@dufair.org> Date: Mon, 01 Jul 2002 10:40:37 -0500 From: Jason Dufair User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Suggestions for cron/suid script? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi all - I recently got cron set up on my Win2K box. What a treat not to have to use Windows' built in scheduler! Given that cron runs as SYSTEM, what I'm wondering is this: Is there any way to get cron to see my network shares? Specifically, I'm tar/gzipping my Cygwin home dir and want to copy the tarball to a directory on my LAN (Novell share) for which my account for which my logged-in account is the only trustee. When I run a script that tries to map it with "net use", I get an error that implies a permissions issue. I'm not likely to be able to convince the network folks to change permissions to add my local SYSTEM acct to this share, so I wonder if there's some way to do it with, say, an SUID perl script or something. I briefly tried creating one, but not being super familiar with suid, I'm having no luck. Any advice would be welcome. Thanks! -- Jason Dufair - jase AT dufair DOT org http://www.dufair.org/ "Londo: But this...this, this, *this* is like being *nibbled* to death by... What are those Earth creatures called? Feathers, long bill, webbed feet... go quack... Vir: Cats. Londo: Cats. I'm being nibbled to death by cats." -- Babylon 5 -- 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/