From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] chroot Date: Tue, 1 Oct 2002 13:17:11 +0400 Message-ID: <20021001091711.GA13092@basalt.office.altlinux.ru> (raw) In-Reply-To: <3D99638B.7000704@avanto.mpei.ac.ru> [-- Attachment #1: Type: text/plain, Size: 3444 bytes --] On Tue, Oct 01, 2002 at 12:57:47PM +0400, Dmitry E. Oboukhov wrote: > стоит с момента инсталла мастера - поставил, дальше не задумывался > что там стоит? сейчас гляну на syslogd, если он лучше может сделать, > чтобы он ставился в дистрибутиве по умолчанию, а syslog-ng - только > дополнительно? Думаю, так и будет. Более того, мне казалось, что так и было. :) > то, что ему нужен setuid в некоторые моменты это понятно, > но вот почему бы работу крона так же не организовать, ведь > по сути at и cron - одно и тоже ;) Это запланировано на будущее; см. OpenBSD-current. > >>root 866 0.0 0.4 2504 1260 ? S Sep22 0:07 /usr/sbin/sshd > >>root 3414 0.0 0.6 5840 1776 ? S 12:19 0:00 \_ /usr/sbin/sshd > > > >Нужен root для авторизации пользователей. > > > проясните пожалуйста > > допустим я имею логин и пассворд пользователя (мб рута) > > char *login="vasya"; > char *passwd="pupkin"; > разве этого недостаточно чтобы сделать программный su? Авторизация - это не su (и не только по паролю). > >>root 1346 0.0 0.4 3756 1108 ? S Sep22 0:00 squid -D > >>squid 1348 0.0 18.5 49112 47584 ? R Sep22 12:21 \_ (squid) -D > >>squid 1365 0.0 0.1 1228 268 ? S Sep22 0:01 \_ (unlinkd) > > > >Управляющий сервер - root; > >все остальные - псевдопользователи. > >В принципе, и управляющий сервер можно сконфигурировать работать с правами > >псевдопользователя в chroot jail; при этом будет потеряна часть > >функциональности. > >В принципе, тут есть над чем поработать. > > > что в функциональности прокси может быть потеряно ? Запуск вспомогательных программ, напр. фильтров. > >>root 1393 0.0 0.1 1232 416 tty1 S Sep22 0:00 /sbin/mingetty tty1 > >>root 1394 0.0 0.1 1232 416 tty2 S Sep22 0:00 /sbin/mingetty tty2 > >>root 1395 0.0 0.1 1232 416 tty3 S Sep22 0:00 /sbin/mingetty tty3 > > > >Нужен CAP_SYS_TTY_CONFIG для vhangup() на терминал. > > > права доступа ? Нет, в sys_vhangup стоит явная проверка на CAP_SYS_TTY_CONFIG. В принципе, можно mingetty оставить только этот CAP... Можно попробовать, но заметного выигрыша не будет. > >>root 1882 0.0 0.5 4212 1504 ? S Sep22 0:00 httpd > >>apache 17381 0.0 0.6 4432 1732 ? S Sep29 0:00 \_ httpd > >>apache 17382 0.0 0.6 4432 1764 ? S Sep29 0:00 \_ httpd > >>apache 17383 0.0 0.6 4440 1748 ? S Sep29 0:00 \_ httpd > >>apache 17384 0.0 0.6 4444 1764 ? S Sep29 0:00 \_ httpd > >>apache 17444 0.0 0.6 4444 1760 ? S Sep29 0:00 \_ httpd > >>apache 17445 0.0 0.7 4456 1804 ? S Sep29 0:00 \_ httpd > >>apache 17895 0.0 0.6 4432 1736 ? S Sep29 0:00 \_ httpd > >>apache 17896 0.0 0.6 4444 1776 ? S Sep29 0:00 \_ httpd > >>apache 17917 0.0 0.6 4444 1784 ? S Sep29 0:00 \_ httpd > >>apache 20655 0.0 0.6 4432 1732 ? S Sep29 0:00 \_ httpd > > > >Управляющий сервер - root; > >все остальные - псевдопользователи. > >В принципе, и управляющий сервер можно сконфигурировать работать с правами > >псевдопользователя; при этом будет потеряна часть функциональности. > > > опять же какая часть ? > сервер он вроде "сам по себе сервер" зачем ему рут ? > только для того, чтобы сокеты открывать ? Не только сокеты, но и дополнительные модули. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-10-01 9:17 UTC|newest] Thread overview: 95+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-09-23 8:08 Dmitry E. Oboukhov 2002-09-23 8:22 ` Dmitry V. Levin 2002-09-23 8:29 ` Dmitry E. Oboukhov 2002-09-23 8:40 ` Dmitry V. Levin 2002-09-23 8:54 ` Dmitry E. Oboukhov 2002-09-23 9:12 ` Dmitry V. Levin 2002-09-23 9:39 ` Dmitry E. Oboukhov 2002-09-23 9:53 ` Dmitry V. Levin 2002-09-23 9:56 ` Dmitry E. Oboukhov 2002-09-23 11:38 ` Re[2]: " Герасимов Дмитрий 2002-09-23 10:56 ` Dmitry E. Oboukhov 2002-09-23 11:09 ` Alexey V. Lubimov 2002-09-23 11:19 ` Dmitry E. Oboukhov 2002-09-23 11:31 ` Dmitry V. Levin 2002-09-23 11:41 ` Dmitry E. Oboukhov 2002-09-23 12:01 ` Anton V. Boyarshinov 2002-09-23 18:05 ` AHTOH 2002-09-23 18:13 ` Герасимов Дмитрий 2002-09-23 19:01 ` AHTOH 2002-09-23 20:38 ` Igor Homyakov 2002-09-23 22:07 ` AHTOH 2002-09-24 4:45 ` Igor Homyakov 2002-09-24 18:59 ` AHTOH 2002-09-25 12:30 ` Alexey V. Lubimov 2002-09-25 19:56 ` AHTOH 2002-09-25 21:19 ` "Алексей Любимов" 2002-09-26 18:10 ` AHTOH 2002-09-27 4:46 ` А.Л. Клютченя 2002-09-27 8:15 ` Alexey V. Lubimov 2002-09-24 5:17 ` Re[2]: " Герасимов Дмитрий 2002-09-24 9:05 ` aen 2002-09-24 5:15 ` Re[2]: " Герасимов Дмитрий 2002-09-24 14:50 ` Борис Ревякин 2002-09-24 10:06 ` [sisyphus] chroot Michael Shigorin 2002-09-24 21:26 ` [sisyphus] chroot Vitaly Lipatov 2002-09-25 20:03 ` AHTOH 2002-09-26 5:03 ` А.Л. Клютченя 2002-09-23 18:41 ` "Алексей Любимов" 2002-09-23 12:14 ` Dmitry V. Levin 2002-09-23 12:21 ` Alexey V. Lubimov 2002-09-23 11:09 ` Dmitry V. Levin 2002-09-23 12:23 ` Albert R. Valiev 2002-09-23 12:39 ` Dmitry E. Oboukhov 2002-09-23 12:45 ` Dmitry V. Levin 2002-09-23 12:49 ` Dmitry E. Oboukhov 2002-09-23 12:54 ` Dmitry E. Oboukhov 2002-09-23 13:25 ` Albert R. Valiev 2002-09-23 13:36 ` Dmitry E. Oboukhov 2002-09-23 12:45 ` Albert R. Valiev 2002-09-23 12:41 ` Dmitry E. Oboukhov 2002-09-23 13:19 ` Albert R. Valiev 2002-09-23 13:33 ` Dmitry E. Oboukhov 2002-09-23 11:58 ` Re[2]: " Герасимов Дмитрий 2002-09-23 11:07 ` Dmitry E. Oboukhov 2002-09-23 12:10 ` Re[2]: " Герасимов Дмитрий 2002-09-23 14:04 ` [sisyphus] chroot Michael Shigorin 2002-09-23 11:14 ` Re[2]: [sisyphus] chroot А.Л. Клютченя 2002-09-23 13:58 ` [sisyphus] chroot Michael Shigorin 2002-09-23 14:19 ` Dmitry E. Oboukhov 2002-09-23 14:47 ` Dmitry V. Levin 2002-09-24 6:22 ` Anton V. Boyarshinov 2002-09-24 8:09 ` Dmitry E. Oboukhov 2002-09-24 8:18 ` Anton V. Boyarshinov 2002-09-23 11:01 ` [sisyphus] chroot Anton V. Boyarshinov 2002-09-23 11:06 ` Dmitry E. Oboukhov 2002-09-23 11:15 ` Anton V. Boyarshinov 2002-09-23 11:32 ` Dmitry E. Oboukhov 2002-09-23 11:36 ` Dmitry V. Levin 2002-09-23 11:43 ` А.Л. Клютченя 2002-09-23 11:52 ` [sisyphus] chroot Alexey Tourbin 2002-09-23 12:03 ` Dmitry E. Oboukhov 2002-09-23 14:06 ` Michael Shigorin 2002-10-01 12:42 ` [sisyphus] Re: chroot [JT] Alexey Tourbin 2002-10-01 15:46 ` Dmitry E. Oboukhov 2002-10-01 15:55 ` Alexey Tourbin 2002-10-01 16:09 ` Vitaly Ostanin 2002-09-29 14:46 ` [sisyphus] chroot Dmitry E. Oboukhov 2002-09-29 16:32 ` Dmitry V. Levin 2002-10-01 8:01 ` Dmitry E. Oboukhov 2002-10-01 8:26 ` Dmitry V. Levin 2002-10-01 8:57 ` Dmitry E. Oboukhov 2002-10-01 9:17 ` Dmitry V. Levin [this message] 2002-10-01 9:34 ` Dmitry E. Oboukhov 2002-10-02 10:42 ` [sisyphus] accessfs and non-root socket()s < 1024 (was: chroot) Michael Shigorin 2002-09-29 17:22 ` [sisyphus] chroot "Алексей Любимов" 2002-10-01 7:55 ` Dmitry E. Oboukhov 2002-10-01 8:01 ` [sisyphus] chroot Michael Shigorin 2002-10-01 8:10 ` Dmitry E. Oboukhov 2002-10-01 8:30 ` Michael Shigorin 2002-10-01 8:37 ` Gerasimov Dmitry 2002-10-01 8:50 ` Anton V. Boyarshinov 2002-10-01 8:50 ` Gerasimov Dmitry 2002-10-01 9:07 ` Michael Shigorin 2002-10-01 9:07 ` Gerasimov Dmitry 2002-10-01 9:13 ` Anton V. Boyarshinov
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=20021001091711.GA13092@basalt.office.altlinux.ru \ --to=ldv@altlinux.org \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git