delorie.com/archives/browse.cgi | search |
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 110CD3945C18 |
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> |
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 |
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 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 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 -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |