From: Sergey Vlasov <vsu@altlinux.ru> To: community@altlinux.ru Subject: Re: [Comm] Команда id выводит не все группы, в которые входит пользователь (ldap) Date: Wed, 5 Oct 2005 19:37:44 +0400 Message-ID: <20051005153744.GE29938@master.mivlgu.local> (raw) In-Reply-To: <20051005191055.0d940f13.dk_for_lists@lmsh.edu.ru> [-- Attachment #1: Type: text/plain, Size: 1224 bytes --] On Wed, Oct 05, 2005 at 07:10:55PM +0400, Denis Kirienko wrote: > Имеется сервер с ldap-авторизацией, около 300 пользователей. > На каждого пользователя заведена одноименная персональная группа. > > Я добавил пользователя leonid в несколько десятков групп. > Если от имени пользователя leonid дать две команды: id и id leonid, то > список групп, в которые включен пользователь, будет различным: id даст > неполный список групп, id leonid - полный: [skip] > Последствие этого косяка - при определении прав доступа к файлам > список групп, в которые включен пользователь leonid определяется, как > в выводе команды id, то есть к файлам с группой osipova_v и правами > 660 пользователь leonid доступа не имеет, а хотелось бы... В ядрах 2.4.x пользователь может состоять не более чем в 32 дополнительных группах: $ grep NGROUPS_MAX /usr/include/linux-default/include/linux/limits.h #define NGROUPS_MAX 32 /* supplemental group IDs are available */ В свежих ядрах 2.6.x этот предел практически убран (NGROUPS_MAX == 65536, соответствующие структуры данных теперь создаются динамически); впрочем, всё равно сохраняется возможность напороться на старую программу, не понимающую более 32 групп. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-10-05 15:37 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-05 15:10 Denis Kirienko 2005-10-05 15:37 ` Sergey Vlasov [this message] 2005-10-05 15:58 ` [Comm] " Denis Kirienko 2005-10-05 21:45 ` [Comm] [faq] " Michael Shigorin 2005-10-06 7:41 ` [Comm] " Alexey I. Froloff
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=20051005153744.GE29938@master.mivlgu.local \ --to=vsu@altlinux.ru \ --cc=community@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 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