ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [cyber] I: Sisyphus-20181108 bugs: +2 -3 (3144)
Date: Thu, 8 Nov 2018 17:57:01 +0400
Message-ID: <CAK42-GoQ2Dv_wLVPcZewPC=bROU-i3tS+ic+gsv+bQ_LQbmmtg@mail.gmail.com> (raw)
In-Reply-To: <20181108132451.GA11809@altlinux.org>

чт, 8 нояб. 2018 г. в 17:24, Alexey V. Vissarionov <gremlin@altlinux.org>:
>
> On 2018-11-08 16:11:30 +0300, Alexey V. Vissarionov wrote:
>
>  >> Я не особо много могу придумать вариантов использования, когда
>  >> я явно добавляю пользователя в группу wheel, но не собираюсь
>  >> давать ему права рута. Такие варианты использования, вообще,
>  >> практикуются?
>  > Допускаю, что можно найти каких-то маргиналов (они есть всегда),
>  > но общепринятая практика такова: если пользователя добавили
>  > в группу wheel - это администратор (само название wheel, напомню,
>  > происходит от штурвала, а не какого-то абстрактного колеса)
>  > и может рулить системой.
>  > А вот держать suid-бинарник доступным на выполнение всем подряд
>  > лучше не надо.
>
> Ну и до кучи. Обсуждаемая функциональность может быть реализована
> примерно так:
>
> root@test:~ # cat /etc/sudoers.d/wheel
> %wheel ALL = (ALL) NOPASSWD: ALL
>
> root@test:~ # rpm -qf /etc/sudoers.d/wheel
> sudo-defaults-wheel-nopasswd-0.1-owl1.noarch
>
> Разумеется, есть и просто sudo-defaults-wheel, но главное - их надо
> ставить явно.
>

Я не очень понимаю как мы переключились в обсуждаемой функциональности
от парольного sudo до беспарольного?

Речь шла вот об этом:
https://bugzilla.altlinux.org/show_bug.cgi?id=18344#c16

О том, что, по умолчанию, либо команда:
# control sudowheel disabled
отключает вот такую настройку, тем кому она кажется лишней, но sudo
него на машине откуда-то появился:
WHEEL_USERS ALL=(ALL) ALL

Либо, по умолчанию, sudo необходимо всегда донастраивать руками, даже
если он установлен, командой (или руками):
# control sudowheel enabled
которая включает такую настройку.



-- 
Sin (Sinelnikov Evgeny)

  reply	other threads:[~2018-11-08 13:57 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-08  9:41 ` Mikhail Efremov
2018-11-08  9:44   ` Andrey Cherepanov
2018-11-08 10:26     ` Alexey V. Vissarionov
2018-11-08 10:34     ` Mikhail Efremov
2018-11-08 12:56       ` [devel] sudo/wheel | " Michael Shigorin
2018-11-08 14:25         ` Evgeny Sinelnikov
2018-11-09  5:35           ` Sergey Afonin
2018-11-09  9:02               ` Sergey Afonin
2018-11-09  9:18                 ` Alexey V. Vissarionov
2018-11-09 10:21                   ` Evgeny Sinelnikov
2018-11-12 17:15                     ` [devel] sudo/wheel Alexey V. Vissarionov
2018-11-15  8:27                       ` Evgeny Sinelnikov
2018-11-15  8:39                         ` Stas
2018-11-15 23:18                         ` Vladimir D. Seleznev
2018-11-16  0:20                           ` Dmitry V. Levin
2018-11-16  7:17                             ` Alexey V. Vissarionov
2018-11-16  7:25                               ` Michael Shigorin
2018-11-16  7:38                                 ` Alexey V. Vissarionov
2018-11-16  8:09                                   ` Michael Shigorin
2018-11-16  7:47                               ` Alexey Gladkov
2018-11-16  8:14                               ` Ivan A. Melnikov
2018-11-16  9:50                                 ` Evgeny Sinelnikov
2018-11-16  7:02                           ` Alexey V. Vissarionov
2018-11-16 10:52                         ` Anton V. Boyarshinov
2018-11-16 11:27                           ` Denis Medvedev
2018-11-09 10:42         ` [devel] sudo/wheel | Re: [cyber] I: Sisyphus-20181108 bugs: +2 -3 (3144) Stas
2018-11-09 11:12           ` Alexey V. Vissarionov
2018-11-10  9:27             ` Stas
2018-11-08 13:01       ` [devel] " Evgeny Sinelnikov
2018-11-08 13:06         ` Dmitry V. Levin
2018-11-08 13:10         ` Dmitry V. Levin
2018-11-08 13:11         ` Alexey V. Vissarionov
2018-11-08 13:24           ` Alexey V. Vissarionov
2018-11-08 13:57             ` Evgeny Sinelnikov [this message]
2018-11-09 10:48           ` Dmitry V. Levin
2018-11-09 11:19             ` Alexey V. Vissarionov
2018-11-09  8:05         ` Mikhail Efremov
2018-12-13 11:16       ` Sergey Afonin
2018-12-13 11:23         ` Dmitry V. Levin
2018-12-13 11:32         ` Alexey V. Vissarionov
2018-12-13 11:55           ` Denis Medvedev
2018-12-13 11:58             ` Alexey V. Vissarionov
2018-12-13 12:00             ` [devel] sudo/wheel | " Sergey Afonin
2018-12-13 12:06               ` Denis Medvedev
2018-12-13 16:21         ` [devel] " Vladimir D. Seleznev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK42-GoQ2Dv_wLVPcZewPC=bROU-i3tS+ic+gsv+bQ_LQbmmtg@mail.gmail.com' \
    --to=sin@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git