From: "Konstantin S. Uvarin" <khedin@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] настройка VPN
Date: Sun, 23 Mar 2008 10:55:56 +0300
Message-ID: <200803231055.56933.khedin@mail.ru> (raw)
In-Reply-To: <47E57B78.20909@rambler.ru>
Приветствую!
> Раньше так и делал (тогда ещё был Dial-up). Но это неправильно. А если у
> пользователя сменится пароль, то что он будет без админа делать с файлом
> /etc/ppp/chap-secrets? Ведь даже доступ на чтение запрещён туда, не
> говоря уже про запись... Нет, можно конечно, написать самому интерфейс
> ко всему этому хозяйству, но вдруг кто-то это уже сделал? :)
Сделал, etcnet. Там можно user и password хранить прямо в файле pppoptions в
настройках интерфейса, не затрагивая глобальный chap-secret. Соответственно,
если юзер имеет права на запись в этот файл, он имеет и право на смену
пароля.
Вопрос уважаемым знатокам: а можно ли сделать так, чтобы права юзера на
ifup/ifdown тоже там настраивались?
Например, в options добавить owners=user1,user2,%group3...
Хотя, раз судо есть, то может и ну его, огород городить.
--
Konstantin S. Uvarin
Главный редактор, крякнув, осушил стопку. Новости радостно закрякали в ответ.
next prev parent reply other threads:[~2008-03-23 7:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 14:14 Денисов Станислав
2008-03-19 19:23 ` Ilis
2008-03-21 20:18 ` Olvin
2008-03-21 20:23 ` Анатолий Акатьев
2008-03-22 21:34 ` Olvin
2008-03-23 7:55 ` Konstantin S. Uvarin [this message]
2008-03-23 17:02 ` Olvin
2008-03-23 8:12 ` Alexey I. Froloff
2008-03-23 15:08 ` Michael Shigorin
2008-03-23 8:37 ` [Comm] [JT] " Konstantin S. Uvarin
2008-03-29 14:50 ` Olvin
2008-03-20 3:57 ` [Comm] " Maxim Tsaryuk
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=200803231055.56933.khedin@mail.ru \
--to=khedin@mail.ru \
--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