From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx011.vodafonemail.xion.oxcs.net (vsmx011.vodafonemail.xion.oxcs.net [153.92.174.89]) by sourceware.org (Postfix) with ESMTPS id 110CD3945C18 for ; Wed, 18 Mar 2020 20:21:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 110CD3945C18 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 vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 63AC159DD0E for ; Wed, 18 Mar 2020 20:21:30 +0000 (UTC) Received: from Gertrud (unknown [87.185.208.77]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 39F15539A99 for ; Wed, 18 Mar 2020 20:21: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> Date: Wed, 18 Mar 2020 21:21:25 +0100 In-Reply-To: <1575279001.20200318225451@yandex.ru> (Andrey Repin's message of "Wed, 18 Mar 2020 22:54:51 +0300") Message-ID: <87a74dtnwa.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.7 required=5.0 tests=KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, 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 20:21:35 -0000 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). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds