From: Alexey Morozov <morozov@novosoft.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] Re: IA: /usr/sbin/gnome-pty-helper Date: Tue, 8 Oct 2002 15:38:46 +0700 Message-ID: <20021008083846.GH11539@pyro.hopawar.private.net> (raw) In-Reply-To: <20021008074956.GA8370@basalt.office.altlinux.ru> On Tue, Oct 08, 2002 at 11:49:56AM +0400, Dmitry V. Levin wrote: > > 0. права на терминал 02511 root:utempter > Т.е. на эмулятор терминала. Разумеется :-). Внесете соответствующие изменения в menu? :-) > > 1. запуск терминала (egid == utempter, gid == user_gid) > > | > > \_ 2. запуск pty-helper > > 3. сброс привилегий в _gid_ (не в egid!). > > 4. инициализация GTK+ и всяких прочих там виджетсетов/библиотек и > > всего остального. > Выполнение пункта 2 до пункта 4, скорее всего, потребует серьезного > изменения в коде эмуляторов. Хм... Очень странно. Это ж в ровности один вызов utempter_add_record? > > плюсы: достаточная простота реализации, минимизация изменений в > > сравнении с vanilla sources. > > минус: существуют проблемы с отслеживанием момента закрытия > Сформулирую иначе: нет способа внести запись о закрытии терминала. :-) > > Кстати, возможно, идея с долгоживущим utempter'ом или привилегированным > > процессом его запускающим, возможно, заслуживает рассмотрения... > Можно даже сервер сделать. :) Ну, сервер не сервер... Долгоживущий процесс... > > Но здесь, опять же, есть минус: поскольку процесс все же принадлежит > > пользователю, то он может читать/модифицировать его память... > Не может - процесс то ведь привилегированный. Гхм... И то правда. > > > -- > ldv
next prev parent reply other threads:[~2002-10-08 8:38 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-05 10:52 morozov 2002-10-06 20:19 ` Dmitry V. Levin 2002-10-07 7:15 ` Alexey Morozov 2002-10-07 9:36 ` Dmitry V. Levin 2002-10-08 6:31 ` Alexey Morozov 2002-10-08 7:49 ` Dmitry V. Levin 2002-10-08 8:38 ` Alexey Morozov [this message] 2002-10-08 8:54 ` Dmitry V. Levin 2002-10-08 13:16 ` [devel] а оно _вообще_ -- нужно? (was: IA: /usr/sbin/gnome-pty-helper) Michael Shigorin
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=20021008083846.GH11539@pyro.hopawar.private.net \ --to=morozov@novosoft.ru \ --cc=devel@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 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