From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60506 invoked by alias); 7 May 2018 13:02:43 -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 60495 invoked by uid 89); 7 May 2018 13:02:42 -0000 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 Received: from mail-wr0-f171.google.com (HELO mail-wr0-f171.google.com) (209.85.128.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 May 2018 13:02:40 +0000 Received: by mail-wr0-f171.google.com with SMTP id o4-v6so28672758wrm.0 for ; Mon, 07 May 2018 06:02:39 -0700 (PDT) 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) Received: from ?IPv6:2001:4c50:49e:400:d1c3:4415:70d3:4569? ([2001:4c50:49e:400:d1c3:4415:70d3:4569]) by smtp.gmail.com with ESMTPSA id 109-v6sm23133625wra.32.2018.05.07.06.02.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 May 2018 06:02:37 -0700 (PDT) From: "Christian Fersch" To: cygwin@cygwin.com Subject: Sudo for cygwin Date: Mon, 07 May 2018 14:27:00 -0000 Message-Id: Reply-To: "Christian Fersch" User-Agent: eM_Client/7.1.31849.0 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-05/txt/msg00108.txt.bz2 Hi, Since I was unhappy about the lack of a sudo command in cygwin, I wrote=20 a litte script to emulate it. You can find at=20 https://github.com/Chronial/cygwin-sudo. It runs commands in elevated mode and has pty-passthrough, so you can=20 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 --=20 ---- djangsters UG (haftungsbeschr=C3=A4nkt) Pappelallee 24 D-10437 Berlin www.djangsters.de Gesch=C3=A4ftsf=C3=BChrer: Sebastian=20 Rode Sitz der Gesellschaft: D-10437 Berlin Registergericht Berlin, HRB=20 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