ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yura Kalinichenko <yuk@kalina.in.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] sudo? Как разграничить доступ?
Date: Tue, 26 Feb 2008 21:11:21 +0200
Message-ID: <47C46459.1090906@kalina.in.ua> (raw)
In-Reply-To: <47C433D3.4010908@mont-spb.ru>

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

Maxim Ivanov пишет:
> Подскажите цель и смысл каталога
> /etc/sudo.d
>   
Ну например удобно управлять элементами, зависящими от пакета. Скажем, 
для функционирования некоторого пакета требуется некоторый набор правил 
sudo. Правила записываются в отдельный файл и заворачиваются в *.rpm 
этого пакета. Т.о. правила будут устанавливаться/сноситься вместе с 
пакетом. Да и вообще удобнее функционально различные правила держать в 
отдельных мелких файлах, а не в одном (не к ночи будь помянут) реестре.
> Поскольку ни в одном руководстве он не упоминается.
> Вся настройка sudo сводится к редактированию
> /etc/sudoers.
> Так ли это?
>   
Не только. При простом ручном изменении /etc/sudoers правила не вступят 
в силу сразу после редактирования. Чтобы они активизировались - 
используйте команду visudo или создавайте правила в /etc/sudo.d

[-- Attachment #2: yuk.vcf --]
[-- Type: text/x-vcard, Size: 177 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


  reply	other threads:[~2008-02-26 19:11 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 [this message]
2008-02-26 19:15         ` Mikhail Gusarov
2008-02-27 18:16           ` Yura Kalinichenko
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=47C46459.1090906@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