From: Yura Kalinichenko <yuk@kalina.in.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] sudo? Как разграничить доступ?
Date: Wed, 27 Feb 2008 20:16:23 +0200
Message-ID: <47C5A8F7.50508@kalina.in.ua> (raw)
In-Reply-To: <87ir0blebu.fsf@frontier.dottedmag.net>
[-- Attachment #1: Type: text/plain, Size: 2057 bytes --]
Mikhail Gusarov пишет:
> Twas brillig at 21:11:21 26.02.2008 UTC+02 when Yura Kalinichenko did gyre and gimble:
>
> YK> Не только. При простом ручном изменении /etc/sudoers правила не
> YK> вступят в силу сразу после редактирования. Чтобы они
> YK> активизировались - используйте команду visudo или создавайте
> YK> правила в /etc/sudo.d
>
> Прекратите несть чушь, которую вы не проверили. Вы сбиваете с толку
> остальных подписчиков.
Чтож, действительно дал маху: по крайней мере в современных Линуксах это
не так. Подобное поведение имело место в каком-то другом Юниксе или
ранних Линуксах, сейчас не вспомню где именно, т.к. очень уж много их
прошло через руки. Фишка была в том, что visudo перекладывал
/etc/sudoers после успешного синтаксического контроля в
/var/spool/чего-то-там, и sudo использовал уже эту копию. Так что
простите уж мой стариковский склероз, тем более что рекомендация-то
отнюдь не вредная, поскольку существуют и другие достаточно веские
причины, чтобы редактировать sudoers только с помощью visudo. Хотя таки
да - вы имеете полное право редактировать этот файл с помощью sed или
даже cat, равно как и не мыть руки перед едой, стоять под стрелой, а
также переходить улицу на красный свет.
[-- Attachment #2: yuk.vcf --]
[-- Type: text/x-vcard, Size: 187 bytes --]
begin:vcard
fn:Yura Kalinichenko
n:Kalinichenko;Yura
email;internet:yuk@kalina.in.ua
tel;home:8-0432-465743
tel;cell:+38-067-5878302
x-mozilla-html:FALSE
version:2.1
end:vcard
next prev parent reply other threads:[~2008-02-27 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 13:10 Maxim Ivanov
2008-02-26 13:27 ` Yurkovsky Andrey
2008-02-26 13:51 ` Maxim Ivanov
2008-02-26 14:11 ` Yurkovsky Andrey
2008-02-26 14:16 ` Mikhail Gusarov
2008-02-26 14:20 ` Mikhail Gusarov
2008-02-26 15:44 ` Maxim Ivanov
2008-02-26 19:11 ` Yura Kalinichenko
2008-02-26 19:15 ` Mikhail Gusarov
2008-02-27 18:16 ` Yura Kalinichenko [this message]
2008-02-26 19:16 ` Andrey Rahmatullin
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=47C5A8F7.50508@kalina.in.ua \
--to=yuk@kalina.in.ua \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git