delorie.com/archives/browse.cgi | search |
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 <nabble AT kosowsky DOT org> |
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 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |