X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E53083947427 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1584566401; bh=PAkCi5OD6DTanvStHMm77uXMVWAjn2JahGYSzmqzh4Y=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=EGftKbPU/YRayU58tEu/fZl0wCIb9BKYwezym0qROJc1YhJwC4nT6p7gb1NMHuIup IAVib3RemsRRztXAxbc9SK7osEg8Z6/Tqu9Ehq7NwROnmEOXHNHlMh8o/qAl/RiFdO T7FZGbhfZC3QJBjJY6xdqHWLojKq03wfPBH6WynU= Authentication-Results: mxback9g.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Thu, 19 Mar 2020 00:06:26 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1777191824.20200319000626@yandex.ru> To: Achim Gratz , cygwin AT cygwin DOT com Subject: Re: crontab message "must be privileged to use -u" In-Reply-To: <87a74dtnwa.fsf@Rainer.invalid> References: <1575279001 DOT 20200318225451 AT yandex DOT ru> <87a74dtnwa DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 X-Spam-Status: No, score=1.7 required=5.0 tests=DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Greetings, Achim Gratz! > Andrey Repin writes: >> I'm trying to use Cygwin's cron, but have a small issue: >> >> # crontab -u 18 -l >> must be privileged to use -u >> >> Is there a way around the problem? >> I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check for >> EUID=0. > Then wrapping it with fakesu should work (no I have not tried that). Cool idea, but I'm not up for recompiling crontab >.> Still, thanks for the reply. -- With best regards, Andrey Repin Thursday, March 19, 2020 0:05:59 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple