From: Oleg Dolgov <dov@media-link.info>
To: community@altlinux.ru
Subject: Re: [Comm] Лампочки модема.
Date: Tue, 27 May 2003 13:07:39 +0000
Message-ID: <200305271307.39257.dov@media-link.info> (raw)
In-Reply-To: <1053975035.2768.20.camel@localhost.localdomain>
> Два способа, мне ближе второй. Первый suid на pppd и всё , что там
> ещё участвует. Второй, в menudrake добавляю в gnome-ppp sudo,
> предварительно настроив sudoers. Запускаете gnome-ppp и работаете.
Можно подробнее про второй?
В menudrake на позиции gnome-ppp указана строка запуска:
/usr/bin/gnome-ppp
Я так понял надо поменять на:
sudo /usr/bin/gnome-ppp
Правильно?
А в sudoers добавить:
user localhost = NOPASSWD: /etc/sysconfig/network-scripts/ifdown
user localhost = NOPASSWD: /etc/sysconfig/network-scripts/ifup
Ну только вместо user настояшее имя пользователя. Верно или я в чем-то
ошибаюсь?
А кстати, чем редактировать этот sudoers? В ASPLinux, кажется, была
утилитка, что-то типа visudo, которая перед сохранением проверяла
содержимое на наличие ошибок.
--
С наилучшими,
Олег Долгов
registered Linux user #315454
prev parent reply other threads:[~2003-05-27 13:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-26 13:27 Oleg Dolgov
2003-05-26 19:03 ` Андрей Новосёлов
2003-05-27 13:07 ` Oleg Dolgov [this message]
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=200305271307.39257.dov@media-link.info \
--to=dov@media-link.info \
--cc=community@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