From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Re: sudo and apt
Date: Thu Apr 11 17:21:03 2002
Message-ID: <3CB58E53.4070702@iop.kiev.ua> (raw)
In-Reply-To: <20020411114213.GB17254@ifirst.ru>
Artem K. Jouravsky wrote:
> On Thu, Apr 11, 2002 at 02:15:48PM +0300, Andriy Dobrovol's'kii wrote:
>
>>Hi,
>>Тут "прозвучало", что аптом можно работать через sudo. Это
>>правда? Что необходимо прописать в sudoers?
>>
> у меня стоит
> ujo ALL=(ALL) NOPASSWD: ALL
>
> Можно и конкретно на один только APT прописать команду:
> ujo ALL=(ALL) NOPASSWD: /usr/bin/apt-get
>
> и в ~/.bashrc
> alias apt-get='sudo apt-get'
>
>
Последнее самое интересное. ;( Как оно работает? Я пытался
сделать именно последний вариант. Только для апт. И оно не
хочет работать. Я вообще ничего не могу понять в мане к
sudoers. Только примеры в конце и спасают немного. И
работает оно как-то как бог на душу положит. Я не пишу
NOPASSWD, а оно его все равно не спрашивает. В другой
строчке тоже не пишу, а оно спрашивает. Ничего не понимаю.
Может кто-нибудь в состоянии дать квалифицированые разъяснения?
Андрей
next prev parent reply other threads:[~2002-04-11 17:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-11 15:14 [mdk-re] " Andriy Dobrovol's'kii
2002-04-11 15:42 ` [mdk-re] " Artem K. Jouravsky
2002-04-11 16:09 ` Yura Zotov
2002-04-11 17:33 ` Andriy Dobrovol's'kii
2002-04-11 17:21 ` Andriy Dobrovol's'kii [this message]
2002-04-11 17:59 ` Artem K. Jouravsky
2002-04-11 18:12 ` Andriy Dobrovol's'kii
2002-04-11 18:48 ` Artem K. Jouravsky
2002-04-11 19:20 ` Andriy Dobrovol's'kii
2002-04-11 21:24 ` Любимов А.В.
2002-04-12 0:18 ` S. Budnevitch
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=3CB58E53.4070702@iop.kiev.ua \
--to=dobr@iop.kiev.ua \
--cc=mandrake-russian@altlinux.ru \
/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