delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/01/11:41:46

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
Message-ID: <3D2077F5.1000505@dufair.org>
Date: Mon, 01 Jul 2002 10:40:37 -0500
From: Jason Dufair <jase AT dufair DOT org>
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?

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/

- Raw text -


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