From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::601]) by sourceware.org (Postfix) with ESMTPS id E53083947427 for ; Wed, 18 Mar 2020 21:20:03 +0000 (GMT) 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@yandex.ru Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 9A3193C00540; Thu, 19 Mar 2020 00:20:01 +0300 (MSK) Received: from myt4-07bed427b9db.qloud-c.yandex.net (myt4-07bed427b9db.qloud-c.yandex.net [2a02:6b8:c00:887:0:640:7be:d427]) by mxback9g.mail.yandex.net (mxback/Yandex) with ESMTP id WYuN2hwitV-K1TeqQls; Thu, 19 Mar 2020 00:20:01 +0300 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 Received: by myt4-07bed427b9db.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id xmnsOUPZqD-K0cm2Zl6; Thu, 19 Mar 2020 00:20:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 18 Mar 2020 21:06:26 -0000 Date: Thu, 19 Mar 2020 00:06:26 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <1777191824.20200319000626@yandex.ru> To: Achim Gratz , cygwin@cygwin.com Subject: Re: crontab message "must be privileged to use -u" In-Reply-To: <87a74dtnwa.fsf@Rainer.invalid> References: <1575279001.20200318225451@yandex.ru> <87a74dtnwa.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 21:20:06 -0000 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...