From: "Michael A. Kangin" <mak@rsmu.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Членство во множестве групп Date: Sat, 8 Nov 2008 12:28:20 +0300 Message-ID: <200811081228.20669.mak@rsmu.ru> (raw) In-Reply-To: <6c7be88d0811080039k61e9f326ra8c53d5092a9037@mail.gmail.com> On Saturday 08 November 2008 11:39:57 Dmitriy Kruglikov wrote: > > А наивный вопрос - это как? Я что-то сколько не гуглю, никак не могу > > увидеть упоминания, что в четвёртом поле /etc/groups могут встречаться и > > имена групп тоже. Или это как-то по другому делается? > > Если мне не изменяет мой склероз, то пишется что-то вроде: > groupname:x:GID:@sub_groupname,username > То, что это группа, явствует из наличия "@" перед именем ... grep cdwriter /etc/group cdwriter:x:80:isot,test,lex,mak backups:x:11578:mak,lex,@cdwriter # grpck -r group backups: no user @cdwriter delete member `@cdwriter'? No grpck: no changes > Или это в солярке, или в какой-нить FreeBSD ... > Поправьте, если не прав ... или grpck не знает про такую фичу... -- wbr, Michael A. Kangin
next prev parent reply other threads:[~2008-11-08 9:28 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-08 7:35 Michael A. Kangin 2008-11-08 7:42 ` Dmitriy Kruglikov 2008-11-08 9:04 ` Dmitriy M. Maslennikov 2008-11-08 9:07 ` Michael A. Kangin 2008-11-08 7:44 ` Michael A. Kangin 2008-11-08 8:09 ` Dmitriy Kruglikov 2008-11-08 8:26 ` Michael A. Kangin 2008-11-08 8:39 ` Dmitriy Kruglikov 2008-11-08 9:28 ` Michael A. Kangin [this message] 2008-11-08 8:51 ` Dmitriy M. Maslennikov
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=200811081228.20669.mak@rsmu.ru \ --to=mak@rsmu.ru \ --cc=community@lists.altlinux.org \ /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