delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/17/06:58:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=iyMx
V5s7dAuVg0pNS4ILi5MXtdwyO9mzT5rQfaAC0yfFDZdCIeF3Xl8lzXxiV2SIDIZX
zZzz+VEam1lifxby7HiRpnFRFifjamif/j9FTaZk5In7Hy+sB2Jv35saPJWerd1I
/HwDaC1wPNg3tem3caQ947YnTLi+vQbxL2JqnoI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=63xBpHT2JC
xFlyceRyXi7xt5964=; b=DuwqnvzzG5unTJu9PNYBqXO8QzJss2aS1WC+xA4kpa
D/2RwnwfSGhwHZf0ohObSJg4Gp/GKdZaJ/pN20o2KLs8Lth+uBb+RqsZvlMwRT8g
v33sCU95CXx1pOftFENFd1KrfptYiPkWUzhUV3oAqwIX0a0Rhu3B0Sx20l0oNBoc
Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Date: Fri, 17 Aug 2018 12:58:12 +0200
From: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: equivalent to su or sudo?
Message-ID: <20180817105812.GC9924@rus.uni-stuttgart.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20180817100101 DOT GB24845 AT rus DOT uni-stuttgart DOT de> <4abc3f66-5669-ca5d-d20f-17ef27176644 AT mail DOT com>
MIME-Version: 1.0
In-Reply-To: <4abc3f66-5669-ca5d-d20f-17ef27176644@mail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

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 AT tik DOT uni-stuttgart DOT de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<4abc3f66-5669-ca5d-d20f-17ef27176644 AT mail DOT 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

- Raw text -


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