From: Stephen Carrier <carrier@berkeley.edu>
To: cygwin@cygwin.com
Subject: Re: crontab message "must be privileged to use -u"
Date: Fri, 20 Mar 2020 09:08:00 -0700 [thread overview]
Message-ID: <20200320160800.GA7871@iguana.crashland.org> (raw)
In-Reply-To: <1575279001.20200318225451@yandex.ru>
On Wed, Mar 18, 2020 at 10:54:51PM +0300, Andrey Repin wrote:
> Greetings, All!
>
> 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.
For me the way around this has been to view (or edit) directly the file
in /var/cron/tabs. If you edit the file, cron needs to be restarted.
Stephen
prev parent reply other threads:[~2020-03-20 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-18 19:54 Andrey Repin
2020-03-18 20:21 ` Achim Gratz
2020-03-18 21:06 ` Andrey Repin
2020-03-18 21:39 ` Achim Gratz
2020-03-19 1:25 ` Brian Inglis
2020-03-19 7:01 ` ASSI
2020-03-20 16:08 ` Stephen Carrier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200320160800.GA7871@iguana.crashland.org \
--to=carrier@berkeley.edu \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).