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:33:11 2002 Message-ID: <3CB59104.9080105@iop.kiev.ua> (raw) In-Reply-To: <20020411120904.GB20724@home-pool4-67.com2com.ru> Yura Zotov wrote: > On Thu, Apr 11, 2002 at 03:42:13PM +0400, 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' >> >> > > User_Alias APT_RUNNER = user1, user2, user3 Я не хочу давать это право всем. Только одному. И эту строчку не прописываю. > Cmnd_Alias APT = /usr/bin/apt-get, /usr/bin/aptitude > Это в моем варианте выглядит так: Cmnd_Alias APT = /usr/bin/apt-get, /usr/bin/apt-cache > > > APT_RUNNER ALL = APT > ну и здесь так: andriy ALL = APT > -- > Юрий А. Зотов > Нигде не отменялся запрос пароля. А оно запускается без него, глазом не моргнув. Почему? Андрей
next prev parent reply other threads:[~2002-04-11 17:33 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 [this message] 2002-04-11 17:21 ` Andriy Dobrovol's'kii 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=3CB59104.9080105@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