* [devel] Re: wvdial и права root @ 2004-06-21 12:21 ` Alexey Tourbin 2004-06-21 12:24 ` Sergey Pinaev 0 siblings, 1 reply; 6+ messages in thread From: Alexey Tourbin @ 2004-06-21 12:21 UTC (permalink / raw) To: Vitaly Lipatov; +Cc: devel [-- Attachment #1: Type: text/plain, Size: 421 bytes --] On Sun, Jun 20, 2004 at 07:27:37PM +0400, Vitaly Lipatov wrote: > Подскажите, какая ситуация у wvdial с запуском > под пользователем? Я собрал gnome-ppp, который > основан на wvdial, но без работы под пользователем это > бессмысленно... Я запускаю из-под sudo. Давайте спросим в devel, как запустить его от пользователя. > -- > Lav > Виталий Липатов > Санкт-Петербург > GNU! ALT Linux Team! LaTeX! LyX! [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Re: wvdial и права root 2004-06-21 12:21 ` [devel] Re: wvdial и права root Alexey Tourbin @ 2004-06-21 12:24 ` Sergey Pinaev 2004-06-21 15:50 ` Vitaly Lipatov 0 siblings, 1 reply; 6+ messages in thread From: Sergey Pinaev @ 2004-06-21 12:24 UTC (permalink / raw) To: ALT Devel discussion list; +Cc: lav hi. On Mon, 21 Jun 2004 16:21:29 +0400 Alexey Tourbin <at@altlinux.ru> wrote: >> Подскажите, какая ситуация у wvdial с запуском >> под пользователем? Я собрал gnome-ppp, который >> основан на wvdial, но без работы под пользователем это >> бессмысленно... AT> Я запускаю из-под sudo. AT> Давайте спросим в devel, как запустить его от пользователя. Although more secure than the above, specific details of the best alternative has yet to be discovered that will work with all the various system configurations. Basically the user needs read (and perhaps write) access to the serial device being used, the wvdial.conf file and also to certain portions of the /etc/ppp directory. If you would like to explore this safer alternative, hopefully with a view to correcting the FAQ, check the mailing list archive, join in on the mailing list discussion and let me know what works best for you. (c) http://dsb3.com/wvdial/wvfaq-5.html -- mail="Sergey Pinaev <dfo@antex.ru>" url="http://`echo $mail | sed 's/.* <\(.*\)@\(.*\)>/\1.\2/'`" ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Re: wvdial и права root 2004-06-21 12:24 ` Sergey Pinaev @ 2004-06-21 15:50 ` Vitaly Lipatov 2004-06-21 15:54 ` Dmitry V. Levin 2004-06-21 17:05 ` Алексей Любимов 0 siblings, 2 replies; 6+ messages in thread From: Vitaly Lipatov @ 2004-06-21 15:50 UTC (permalink / raw) To: devel On Monday 21 June 2004 16:24, Sergey Pinaev wrote: > hi. > On Mon, 21 Jun 2004 16:21:29 +0400 > > Alexey Tourbin <at@altlinux.ru> wrote: > >> Подскажите, какая ситуация у wvdial с запуском > >> под пользователем? Я собрал gnome-ppp, который > >> основан на wvdial, но без работы под пользователем это > >> бессмысленно... > > AT> Я запускаю из-под sudo. > AT> Давайте спросим в devel, как запустить его от > пользователя. > > Although more secure than the above, specific details of the > best alternative has yet to be discovered that will work with > all the various system configurations. Basically the user ... Это я видел. Проблема с том, что - pppd под пользователем не работает (как я понимаю) - у нас пользователю нет прав записи в /etc/ppp/{pap,chap}-secrets Права доступа к последовательному устройству есть (кстати, wvdial их портит (меняет) если его запускать под root). Тут надо определиться: если в этих файлах хранятся пароли пользователя, почему ему нельзя в них даже заглядывать? Хотя я бы был доволен механизмом наподобие использованного в kppp. -- Lav Виталий Липатов Санкт-Петербург GNU! ALT Linux Team! LaTeX! LyX! ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Re: wvdial и права root 2004-06-21 15:50 ` Vitaly Lipatov @ 2004-06-21 15:54 ` Dmitry V. Levin 2004-06-21 17:05 ` Алексей Любимов 1 sibling, 0 replies; 6+ messages in thread From: Dmitry V. Levin @ 2004-06-21 15:54 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 437 bytes --] On Mon, Jun 21, 2004 at 07:50:50PM +0400, Vitaly Lipatov wrote: > Проблема с том, что > - pppd под пользователем не работает (как я понимаю) > - у нас пользователю нет прав записи > в /etc/ppp/{pap,chap}-secrets Грубо говоря, это аналог /etc/passwd в прежние времена (или /etc/tcb теперь) для ppp. Разумеется, пользователю в этих файлах делать нечего: GNU/Linux - это многопользовательская операционная система. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Re: wvdial и права root 2004-06-21 15:50 ` Vitaly Lipatov 2004-06-21 15:54 ` Dmitry V. Levin @ 2004-06-21 17:05 ` Алексей Любимов 2004-06-21 17:19 ` Dmitry V. Levin 1 sibling, 1 reply; 6+ messages in thread From: Алексей Любимов @ 2004-06-21 17:05 UTC (permalink / raw) To: ALT Devel discussion list Vitaly Lipatov wrote: >On Monday 21 June 2004 16:24, Sergey Pinaev wrote: > > >>hi. >>On Mon, 21 Jun 2004 16:21:29 +0400 >> >>Alexey Tourbin <at@altlinux.ru> wrote: >> >> >>>>Подскажите, какая ситуация у wvdial с запуском >>>>под пользователем? Я собрал gnome-ppp, который >>>>основан на wvdial, но без работы под пользователем это >>>>бессмысленно... >>>> >>>> >>AT> Я запускаю из-под sudo. >>AT> Давайте спросим в devel, как запустить его от >>пользователя. >> >>Although more secure than the above, specific details of the >>best alternative has yet to be discovered that will work with >>all the various system configurations. Basically the user >> >> >... >Это я видел. >Проблема с том, что >- pppd под пользователем не работает (как я понимаю) >- у нас пользователю нет прав записи >в /etc/ppp/{pap,chap}-secrets > > с текущей версией pppd без вариантов - пользователю давать права на запись и даже на чтение этих файлов нельзя - они же многопользовательские. В сусе pppd пропатчили, чтобы можно было задавать пароли не через эти файлы а непосредстваенно в pppd - это выход. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Re: wvdial и права root 2004-06-21 17:05 ` Алексей Любимов @ 2004-06-21 17:19 ` Dmitry V. Levin 0 siblings, 0 replies; 6+ messages in thread From: Dmitry V. Levin @ 2004-06-21 17:19 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 646 bytes --] On Mon, Jun 21, 2004 at 09:05:21PM +0400, Алексей Любимов wrote: > Vitaly Lipatov wrote: [...] > >Это я видел. > >Проблема с том, что > >- pppd под пользователем не работает (как я понимаю) > >- у нас пользователю нет прав записи > >в /etc/ppp/{pap,chap}-secrets > > > с текущей версией pppd без вариантов - пользователю давать права на > запись и даже на чтение этих файлов нельзя - они же многопользовательские. > В сусе pppd пропатчили, чтобы можно было задавать пароли не через эти > файлы а непосредстваенно в pppd - это выход. Кто-нибудь готов посмотреть этот патч? 2voins: locate /ppp-2.4.2-39.src.rpm -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-06-21 17:19 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-06-21 12:21 ` [devel] Re: wvdial и права root Alexey Tourbin 2004-06-21 12:24 ` Sergey Pinaev 2004-06-21 15:50 ` Vitaly Lipatov 2004-06-21 15:54 ` Dmitry V. Levin 2004-06-21 17:05 ` Алексей Любимов 2004-06-21 17:19 ` Dmitry V. Levin
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git