From patchwork Mon Jan 7 05:22:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Meiyo Peng X-Patchwork-Id: 691 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A4EBB16A24; Mon, 7 Jan 2019 05:23:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2CEBB16A22 for ; Mon, 7 Jan 2019 05:23:07 +0000 (GMT) Received: from localhost ([127.0.0.1]:53303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggNNS-0005hX-Cf for patchwork@mira.cbaines.net; Mon, 07 Jan 2019 00:23:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggNNP-0005hR-3r for guix-patches@gnu.org; Mon, 07 Jan 2019 00:23:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggNNO-00036D-A7 for guix-patches@gnu.org; Mon, 07 Jan 2019 00:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggNNO-000366-62 for guix-patches@gnu.org; Mon, 07 Jan 2019 00:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggNNN-0004yT-RL for guix-patches@gnu.org; Mon, 07 Jan 2019 00:23:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34005] [PATCH] system: Add sudoedit to %setuid-programs. Resent-From: Meiyo Peng Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jan 2019 05:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34005 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34005@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154683856219075 (code B ref -1); Mon, 07 Jan 2019 05:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2019 05:22:42 +0000 Received: from localhost ([127.0.0.1]:47561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggNN3-0004xb-TM for submit@debbugs.gnu.org; Mon, 07 Jan 2019 00:22:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggNN1-0004xN-RF for submit@debbugs.gnu.org; Mon, 07 Jan 2019 00:22:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:39610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggNMv-0002vw-Sj for submit@debbugs.gnu.org; Mon, 07 Jan 2019 00:22:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggNMu-0005fh-Q9 for guix-patches@gnu.org; Mon, 07 Jan 2019 00:22:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggNMt-0002v4-LO for guix-patches@gnu.org; Mon, 07 Jan 2019 00:22:32 -0500 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:45541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggNMq-0002u1-M5 for guix-patches@gnu.org; Mon, 07 Jan 2019 00:22:30 -0500 Received: by mail-pg1-x534.google.com with SMTP id y4so20199082pgc.12 for ; Sun, 06 Jan 2019 21:22:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=VrHKgr+WIScNwkQ+uNjwT9xc9LKAWHbyzLCa68hvyew=; b=tY2CSYMBCNw2h59/e5E6vfLzKHOr89Hm4845zFDJaog9VErlx5xkUjlczA/3q+YTm9 UUf2jBORiKYhpKSenkeimu1yq+oNvYdp7scJbo9WPLXFkTKep1k4qYnLJQh5OB8Reu5j wIGsxzCnjeocMhr+VotLvIsjQGvf3aJRQi0eQqY3ZUVG/p0vmSPxqRI8oG35AhRmlOBU BRJSSoDF45DNhSi7Qa5SXjqST8X5byvdZtog9/b0IsUS4DoSN5305Aqdi13Zb6qZdlvI /f4uMgB0IHEyFac3TSy/s3eoPSaQNRQnQur+KKcB9Vey3yQEKdPJPIpwYDSpmlBtuMuD gFww== 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:mime-version; bh=VrHKgr+WIScNwkQ+uNjwT9xc9LKAWHbyzLCa68hvyew=; b=SZS5brcZ0/tsyqvZ8nU4sNSjMYt5NQ3G4npv1WzEHn6jYQC3LwGO+x+tvoQjXYOHpv aBJ92WSq2NCcsRzG8jvpkahHMGvgLiRVTdKukf0dj6ziW/Qqm9s++BEaMO8LGNtFC02/ 4q2h/lhuVYd4XHDYG903C+7Tje/lH4aXFk/c3AtLfgrXVJLAGtyD/LRGltip87ek6Jcm yd9wsnc/vejjbRZP8W4jRNQCCoR6tcE2kRgeyaVscDgc+iR7WaZf8wVBAc9stEWFsJd+ lTCG0F3h/mvuOFnH2UOr/yPuwlYY5ggpBMTpmD/TZGKs3CSGxBpkq/E72QUGIubb1cey 5/1A== X-Gm-Message-State: AA+aEWbjp6VcMqmTdq/I5FxHa5SHMQwh1Uoal+8Lda4/DHjf3SP+F/95 uL/AToi5Xin4rdELuFAR6EfIEaKgzu8= X-Google-Smtp-Source: AFSGD/XyUmx4vADlphs1V3Gy8DCPFLsIOBpkv3dKCx2cyyJqB2kBNVc307PlKVfXeoBj2T9Z3OzunA== X-Received: by 2002:a62:6408:: with SMTP id y8mr61230479pfb.202.1546838544833; Sun, 06 Jan 2019 21:22:24 -0800 (PST) Received: from dinosaur (144.34.217.65.16clouds.com. [144.34.217.65]) by smtp.gmail.com with ESMTPSA id u137sm117171636pfc.140.2019.01.06.21.22.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Jan 2019 21:22:24 -0800 (PST) From: Meiyo Peng Date: Mon, 07 Jan 2019 13:22:20 +0800 Message-ID: <87zhsdqbxv.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, This patch adds sudoedit to %setuid-programs. Although sudoedit is equivalent to "sudo -e" and sudo is already in %setuid-programs, I prefer to type sudoedit in terminal. sudoedit is a common command in Linux distros. I use it frequently. It would be great if guix users are not forced to fallback on "sudo -e". --- Meiyo Peng https://www.pengmeiyu.com/ From 822f58171d10e92106878e1c9687401743ca372c Mon Sep 17 00:00:00 2001 From: Meiyo Peng Date: Sat, 5 Jan 2019 21:06:47 +0800 Subject: [PATCH] system: Add sudoedit to %setuid-programs. * gnu/system.scm (%setuid-programs): Add sudoedit. --- gnu/system.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/system.scm b/gnu/system.scm index ee48f4826..09ee88d43 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015, 2016 Alex Kost ;;; Copyright © 2016 Chris Marusich ;;; Copyright © 2017 Mathieu Othacehe +;;; Copyright © 2019 Meiyo Peng ;;; ;;; This file is part of GNU Guix. ;;; @@ -792,6 +793,7 @@ use 'plain-file' instead~%") (file-append inetutils "/bin/ping") (file-append inetutils "/bin/ping6") (file-append sudo "/bin/sudo") + (file-append sudo "/bin/sudoedit") (file-append fuse "/bin/fusermount")))) (define %sudoers-specification -- 2.20.1