From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96071 invoked by alias); 17 Aug 2018 15:35:14 -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 96063 invoked by uid 89); 17 Aug 2018 15:35:13 -0000 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 Received: from forward106o.mail.yandex.net (HELO forward106o.mail.yandex.net) (37.140.190.187) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Aug 2018 15:35:11 +0000 Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 99D35785DB7; Fri, 17 Aug 2018 18:35:08 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id K1duxiIIeT-Z1EGSrF8; Fri, 17 Aug 2018 18:35:02 +0300 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= Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id QqgE3BeLjL-Z1SiOeQL; Fri, 17 Aug 2018 18:35:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) 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 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 17 Aug 2018 15:21:49 -0000 Date: Fri, 17 Aug 2018 17:15:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1157801968.20180817182149@yandex.ru> To: Ulli Horlacher , cygwin@cygwin.com Subject: Re: equivalent to su or sudo? In-Reply-To: <20180817100101.GB24845@rus.uni-stuttgart.de> References: <20180817100101.GB24845@rus.uni-stuttgart.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00231.txt.bz2 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