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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 11 Jan 2002 09:55:20 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Setting up user mode cron Message-ID: <20020111095520.S12057@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <3C3DE147 DOT 7070206 AT Salira DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C3DE147.7070206@Salira.com> User-Agent: Mutt/1.3.22.1i On Thu, Jan 10, 2002 at 10:45:27AM -0800, Andrew DeFaria wrote: > limits" to cron. IOW I guess what I'm saying is that *something* should > be done (I know you can see this as whining and perhaps it is. But it's > whining for a good cause! :-) So, why aren't you going to roll up your sleeves and create a really useful patch? That's better than whining, I think. > This cron seems to support setting a MAILTO environment variable to tell > cron where to mail output in case of errors. Could it not simply > additionally support USERNAME and PASSWD environment variables that, if > present in the crontab would cause cron to change user context with > asking for logon credentials? Of course of concern would be the possibly > cleartext PASSWD. Perhaps PASSWD could be required to be encrypted like > that usually in bona fide Unix /etc/passwd (/etc/shadow) files. It's > just a thought of a possible workaround to a possibly bad situation. You can't encrypt the passwd as in UNIX. These are asymmetrically encryptions. You can't get the original passwd back. Your proposition would need a symmetrically encrypted password which means, the encryption key is either hardcoded in cron (URGH) or it's evaluated by some deterministical function (urgh). And you would of course need an extra tool to create the encrypted from the cleartext password to allow a user to type it into his/her crontab file. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/