delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/17/11:35:24

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=ElGZTIW0Iq9p9eeQ
laquP3izyPOrTzi96JzkZbR0Y4E51KWnjtuXuY7iqecpF7gsQHD681NtEIok5bss
fwTvbzk/e2II0/ZG/mt6645odm/c8U0525a/hK1rsZG2fVVQo6ml+wZcsPA7Twtn
OSD8TsTiIYbSUlBFLP0r9bDIS+0=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=BAPfbmu/xKfX4THc8ZrEDr
8gEAc=; b=K01o689uSXfIgDILvDn6hsRrZekNw/6X/PwVJYy19kXYz16E/fdUMk
a5VCNzIAwbWN+0DSMSWnU84I/zS0UKmJwUcVUStnVjbnowAmRjwVZ+9Or36N2BVN
Hso2VYNb0iPyPtp5/UPsHqCj+bDB1JHmKx18pyuoG2JZQYvVTkcQI=
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.7 required=5.0 tests=BAYES_05,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=UD:yandex.ru, H*x:Bat!, andrey, insecure
X-HELO: forward106o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1534520102; bh=ayoQHYr/AAa489jdVhK1EtYd3YC7gRreg5WRXiKO+nE=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=o/VZ2YpPvM/s4cLvLispu8zyW0+47qQQwXMb4GMBI2VkLQ6OTi9HIqVAQUWIXEFhF li2zFOaXXlhR3OKuzd43vPikbx3B8XpwacTLSwBJh6CRzT377L3361gQjlUwwXtWiT o3KrMFdWv3kJr2cydgVas/U1VwOTvwyDLOltF/gg=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1534520101; bh=ayoQHYr/AAa489jdVhK1EtYd3YC7gRreg5WRXiKO+nE=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=CrXEiGC3QJlLFqvIiK4h2CEoB5ReqFE8Q4w1USvMaij14uo+Z1ynZW90VYEjoyo6S j+98KdrSV9mXJzJ1zxTb3T7GQsmkhyRO1OQzAYGUhW/cahYkioVPWfKILTTHcq2cr+ G3ytQjiE2EVi3T6J3GwxmmDtNVRCwNHR3ZNp9rz8=
Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 17 Aug 2018 18:21:49 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1157801968.20180817182149@yandex.ru>
To: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>, cygwin AT cygwin DOT com
Subject: Re: equivalent to su or sudo?
In-Reply-To: <20180817100101.GB24845@rus.uni-stuttgart.de>
References: <20180817100101 DOT GB24845 AT rus DOT uni-stuttgart DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Ulli Horlacher!

> I need to run some scripts with full administrator rights (for chown,
> chmod, setfacl).
> Is there a cygwin equivalent to su or sudo?

If by that you mean "run privileged program inside a user terminal", no.
This is inherently insecure and not supported under Windows.


-- 
With best regards,
Andrey Repin
Friday, August 17, 2018 18:21:00

Sorry for my terrible english...


--
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