From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id 48DD1387703A for ; Fri, 20 Mar 2020 16:08:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 48DD1387703A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=berkeley.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=carrier@berkeley.edu Received: by mail-pj1-x1034.google.com with SMTP id j20so2663262pjz.0 for ; Fri, 20 Mar 2020 09:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0Z3N/LSu6ZsKpdl0N0kHlWsIXfN+YmItP+WzRNUDA60=; b=lcU5D3RHHpdGbzbySFdmjKbNCdLTeJQlOoFll/SxpTS183xowynwGOGXrR6xOkaHLw BSRU7Nxo3sN1wxVrY5KPXBMd6f7MiMYkIAveB5RPpRhLBvFWmjZNwsxSrKMnPYHrndFN nG+vARsPjdzXscWinomtvgay8XOTGlQmR8qEPQ/X6Jcsi4fFeU8j0caJTZjZ/YVUhpcO kyKn2Fra74RQVaRAh4g6P8GCkeCevV70SIWP0aBOvpCPoBWqZYcT6qTW9IG3O3zpvwME F//TnBaEaAtdvR9ubd9JG2baU+7KLR4DRpjLyAZevTcJgXtvBSdLflqxziKvzPoqrK4e Dzmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0Z3N/LSu6ZsKpdl0N0kHlWsIXfN+YmItP+WzRNUDA60=; b=TEtkt9pl+RqHC/34ls+TRljmczJnUi817aGYasCo+CBNtbQYNSSWi3Ale7bP88gSmZ BWc9oWy7ZNiLRyuaPeTywncxBAlCv4FagPsOnftWczxnsRIi44VZnrDQcGau//pEeDAO AFKFWkVUFr3dqNFAO6VSbTnzyMB/MlI/8dMN/mXO7FwRlODSfnx4le2iL6fF9kSkWTL8 ve5q1JMRC/CHJ2eB+FNI9zzpDRW9IqpJeM3O3EiU+8FzBySyTY5C4GRjMspJ0PP5wN98 TNPxsl86/NMICUJDTsbcwjs4++739KtbxAn2cckXJJK9k20FqaQ1GIhyPylzMMl1/QkO j9Fg== X-Gm-Message-State: ANhLgQ1cz3E0/vQRRwLlPDARK8zgOYIeClTbU55Dgd8I+ieKCjlEBKIF JElOkKVsYV4jnQd7A953Su988qvoERg= X-Google-Smtp-Source: ADFU+vsm6KsXKfKVMhmuvvJvbKaHcyHG1EBlydpgeLalibxRNUb9c0XNETN7s9oMsM96WshUTCttAg== X-Received: by 2002:a17:902:d705:: with SMTP id w5mr9396942ply.68.1584720485034; Fri, 20 Mar 2020 09:08:05 -0700 (PDT) Received: from iguana.crashland.org (ec2-52-35-100-111.us-west-2.compute.amazonaws.com. [52.35.100.111]) by smtp.gmail.com with ESMTPSA id 25sm6091355pfn.190.2020.03.20.09.08.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2020 09:08:02 -0700 (PDT) From: Stephen Carrier X-Google-Original-From: Stephen Carrier Received: by iguana.crashland.org (Postfix, from userid 510) id E2C41616B7; Fri, 20 Mar 2020 09:08:00 -0700 (PDT) Date: Fri, 20 Mar 2020 09:08:00 -0700 To: cygwin@cygwin.com Subject: Re: crontab message "must be privileged to use -u" Message-ID: <20200320160800.GA7871@iguana.crashland.org> References: <1575279001.20200318225451@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1575279001.20200318225451@yandex.ru> User-Agent: Mutt/1.12.2 (2019-09-21) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, 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: Fri, 20 Mar 2020 16:08:09 -0000 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