delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/18/17:40:26

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 0AB093944422
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=nexgo.de
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=Stromeko AT nexgo DOT de
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: crontab message "must be privileged to use -u"
References: <1575279001 DOT 20200318225451 AT yandex DOT ru>
<87a74dtnwa DOT fsf AT Rainer DOT invalid> <1777191824 DOT 20200319000626 AT yandex DOT 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
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019