From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118051 invoked by alias); 17 Aug 2018 10:58:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 118042 invoked by uid 89); 17 Aug 2018 10:58:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=D*mail.com, REF, Hx-languages-length:781, rights X-HELO: smtp02.belwue.de Received: from smtp02.belwue.de (HELO smtp02.belwue.de) (129.143.71.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Aug 2018 10:58:15 +0000 Received: from fex.rus.uni-stuttgart.de (fex.rus.uni-stuttgart.de [129.69.1.129]) by smtp02.belwue.de (Postfix) with SMTP id AEC74DD5E for ; Fri, 17 Aug 2018 12:58:12 +0200 (MEST) Date: Fri, 17 Aug 2018 14:36:00 -0000 From: Ulli Horlacher To: cygwin@cygwin.com Subject: Re: equivalent to su or sudo? Message-ID: <20180817105812.GC9924@rus.uni-stuttgart.de> Mail-Followup-To: cygwin@cygwin.com References: <20180817100101.GB24845@rus.uni-stuttgart.de> <4abc3f66-5669-ca5d-d20f-17ef27176644@mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4abc3f66-5669-ca5d-d20f-17ef27176644@mail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00224.txt.bz2 On Fri 2018-08-17 (12:29), john doe wrote: > On 8/17/2018 12:01 PM, Ulli Horlacher wrote: > > > I need to run some scripts with full administrator rights (for chown, > > chmod, setfacl). > > Is there a cygwin equivalent to su or sudo? > > > > https://stackoverflow.com/questions/4090301/root-user-sudo-equivalent-in-cygwin None of these answers work for me. For example "cygstart --action=runas id" pops up a windows for milliseconds without any chance to read it. -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<4abc3f66-5669-ca5d-d20f-17ef27176644@mail.com> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple