From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx009.vodafonemail.xion.oxcs.net (mx009.vodafonemail.xion.oxcs.net [153.92.174.39]) by sourceware.org (Postfix) with ESMTPS id 0AB093944422 for ; Wed, 18 Mar 2020 21:39:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0AB093944422 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 2FDE9604B92 for ; Wed, 18 Mar 2020 21:39:31 +0000 (UTC) Received: from Gertrud (unknown [84.160.197.201]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 06EAA6055DE for ; Wed, 18 Mar 2020 21:39:28 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: crontab message "must be privileged to use -u" References: <1575279001.20200318225451@yandex.ru> <87a74dtnwa.fsf@Rainer.invalid> <1777191824.20200319000626@yandex.ru> Date: Wed, 18 Mar 2020 22:39:28 +0100 In-Reply-To: <1777191824.20200319000626@yandex.ru> (Andrey Repin's message of "Thu, 19 Mar 2020 00:06:26 +0300") Message-ID: <875zf1tka7.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-Spam-Status: No, score=0.0 required=5.0 tests=KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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:39:36 -0000 Andrey Repin writes: >>> 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. If you care to look at the package listing you might have noticed that there is an actual fakesu binary present that I believe does exactly what you were asking. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada