X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <26362968.post@talk.nabble.com> Date: Sun, 15 Nov 2009 12:27:59 -0800 (PST) From: aputerguy To: cygwin AT cygwin DOT com Subject: Would it be possible/hard to write a version of 'at' that executes "right away" to get around ssh username=SYSTEM? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 For a while, I have been using the "trick" of executing scripts via 'at' when logged in over ssh to get around the limitations of USRNAME=SYSTEM. This is necessary for running things like vshadow, dosdev, and apparently subinacl. While I have written a short script that figures out the nearest minute, it is kludgey and a pita to have to wait until the next minute for at to run. Which got me thinking that why not write a cywin version of at with better time granularity so that the command would run essentially right away. This would then be a poor man's version of 'sudo' though it probably couldn't be interactive. I'm not a system programmer so I have no clue how hard this would be but it seems like it could be very useful... -- View this message in context: http://old.nabble.com/Would-it-be-possible-hard-to-write-a-version-of-%27at%27-that-executes-%22right-away%22-to-get-around-ssh-username%3DSYSTEM--tp26362968p26362968.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple