delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/07/09:02:53

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:from:to:subject:date:message-id:reply-to
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=Lll2EGpXH2JZ4gQLsIdFIWhCYknwxNGCTQy++FwSTgq4lJKokO71z
+06tEwIwOdtLKNm2Vj9G0kC+EykXH5ySEyYVq1D+6/R4AwnScA0b2JF7toNeK3kA
zAt2mwxFxmUc0UeTnX6XOryhJ6A3U+d46uBj+amdT5rJFq3zryi1D8=
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:from:to:subject:date:message-id:reply-to
:mime-version:content-type:content-transfer-encoding; s=default;
bh=935UkhS37o55cl7ap5qQKYKuKgM=; b=aWoLiYlmqqLIoKtOlHxdlIZ9F2b6
cmYbNsTdgnCbUz72JX6Mwh0x7hETbua6aISbfcTxCbM9uWSCTfW5ARW+hn+ynXUg
fH/8KFAzOIBSAP/1q4H4/NWr7w6F84zQyNIm6eixHphre9cDMaVEC9kugbqVjJmq
7HErDGoUBpdkHxE=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_40,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=8:un, christian, 8:t, sudo
X-HELO: mail-wr0-f171.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:reply-to :user-agent:mime-version:content-transfer-encoding; bh=ZwjYtWNsG9Xa/leY8zkr+okEgVwv8QT9+d256zlwNdk=; b=RSkgw1PK9H83niJ0uEvymArLJZ1pyt0XttzNiTRyxoNlfxc42zjZzVd8JVAvJEs+Qc JCwAoQe9z4cdmBLslFH3m+Jy05YTvPylCcx6L5OK66/mXeraCoUR7jes2HvYimECqFZ4 0hDEXvJKDcbuupBYXTcHWJKKpKSz1kTk/vQJdb4Z62BaiC/B83EB4lx8VDDB+uvxJTev yQ0TS6az4NbiDRfOHUfGkkWrwValckhaNaVZOdVTBc+J3UfVULwpBhxSBYo6BPzj6kN2 ujlat6/Wxtjpzfn6vr278OiQwiVemVEOPzCLOjfAI8IOCqMzjGGoPIrgaYQ26r4H4RK2 RKRg==
X-Gm-Message-State: ALQs6tBmNlhmSwIuW7f0kgevtSof8JQLiW82RC5P4YRZKGy/kTsq5mz0 dsnriRXLG5u6rpFcaFgcPbGxwY2iLiCJt87wNXxGdb/25/msBKDWPbqNJyfHaD+aIqn/KtuWSWb zQADgtVUr
X-Google-Smtp-Source: AB8JxZox5JpOFnKOFb3Y4iWIhGfTec0lk0/SBQiHqENTY6NHFBjughjIQQXNDLufoG/yvNWulE84+g==
X-Received: by 2002:adf:db85:: with SMTP id u5-v6mr28281095wri.278.1525698157863; Mon, 07 May 2018 06:02:37 -0700 (PDT)
From: "Christian Fersch" <christian AT djangsters DOT de>
To: cygwin AT cygwin DOT com
Subject: Sudo for cygwin
Date: Mon, 07 May 2018 13:02:38 +0000
Message-Id: <emefe31b6a-4c65-4026-bc59-8c2840806133@the-machine>
Reply-To: "Christian Fersch" <christian AT djangsters DOT de>
User-Agent: eM_Client/7.1.31849.0
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w47D2qRV019652

Hi,

Since I was unhappy about the lack of a sudo command in cygwin, I wrote 
a litte
script to emulate it. You can find at 
https://github.com/Chronial/cygwin-sudo.

It runs commands in elevated mode and has pty-passthrough, so you can 
use it in
pipes and run interactive commands like vim through it.

Just wanted to share this, in case it might be useful for anybody else.

Regards,
Christian


-- 
----
djangsters UG (haftungsbeschränkt)
Pappelallee 24
D-10437 Berlin



www.djangsters.de <http://www.djangsters.de>


Geschäftsführer: Sebastian 
Rode


Sitz der Gesellschaft: D-10437 Berlin
Registergericht Berlin, HRB 
150279
USt-IdNr: DE289238324

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