From: Mikhail Zabaluev <mookid@sigent.ru>
To: Sergei <mandrake-russian@linuxteam.iplabs.ru>
Subject: [mdk-re] Re: [mdk-re] инет под юзером
Date: Tue Mar 20 00:55:56 2001
Message-ID: <20010320005950.D1246@localhost.localdomain> (raw)
In-Reply-To: <12833949980.20010319220448@mailru.com>; from suralis@mailru.com on Mon, Mar 19, 2001 at 10:04:48PM +0300
Hello Serge,
On Mon, Mar 19, 2001 at 22:04 +0300, Serge Skorokhodov wrote:
>
> Здравствуйте!
>
> Sergei пишет по-поводу [mdk-re] инет под юзером
>
> >> Захотел тут переползти с рута на обычного пользователя, но
> >> выяснилось что не получается под ним инет поднять.
>
> >> Сначала wvdial не хотел открывать /dev/ttyS0, но это решилось
> >> установкой SUID на wvdial (и прваильно ли это?). Потом pppd
> >> стал выдавать в лог что не может открыть
> >> /etc/ppp/peers/wvdial. Хотя мне кажется это странным, SUID на
> >> pppd установлен, или это зависит отчего-то другого? Потом
> >> поставил gppp, настроил и этот тоже кричит что pppd умер. В
> >> логе: Failed to open /dev/modem: Permission denied и то же
> >> самое для ttyS0... У меня уже мыслей нету как можно это
> >> сделать...
>
> S> Вообще-то управление устройствами доступно только root'у...
>
> А почему тогда /sbin/ifup pppX проходит без проблем?
Там запускается suid-ный wrapper.
> А wvdial,
> действительно, только под root'ом?
Короткий ответ - да. Но его можно использовать с /sbin/if{up,down}
--
Stay tuned,
MhZ mailto:mookid@sigent.ru
-----------
There is only one way to kill capitalism -- by taxes, taxes, and more taxes.
-- Karl Marx
next prev parent reply other threads:[~2001-03-20 0:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-18 9:05 [mdk-re] ÉÎÅÔ ÐÏÄ ÀÚÅÒÏÍ Pavel Marakhovsky
2001-03-19 21:06 ` [mdk-re] инет под юзером Sergei
2001-03-19 21:32 ` Ivan Zakharyaschev
2001-03-19 22:45 ` Sergey Vlasov
2001-03-19 22:33 ` Re[2]: [mdk-re] ÉÎÅÔ ÐÏÄ ÀÚÅÒÏÍ Serge Skorokhodov
2001-03-20 0:55 ` Mikhail Zabaluev [this message]
2001-03-20 6:14 ` Pavel Marakhovsky
2001-03-20 10:19 ` Re[2]: [mdk-re] инетподюзером Vyt
2001-03-20 12:32 ` [mdk-re] Re: Re[2]: [mdk-re] инет под юзером Alexey Voinov
2001-03-21 5:42 ` [mdk-re] Re: Re[2]: [mdk-re] ÉÎÅÔ ÐÏÄ ÀÚÅÒÏÍ Pavel Marakhovsky
2001-03-21 7:37 ` [mdk-re] Re: [mdk-re] Re: Re[2]: [mdk-re] инет под юзером Ivan Zakharyaschev
2001-03-21 12:08 ` Alexey Voinov
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=20010320005950.D1246@localhost.localdomain \
--to=mookid@sigent.ru \
--cc=mandrake-russian@linuxteam.iplabs.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