ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@lists.altlinux.org>
Subject: Re: [Comm] How to add user to groups ?
Date: Sat, 23 Sep 2006 18:50:25 +0400
Message-ID: <20060923145025.GA23040@basalt.office.altlinux.org> (raw)
In-Reply-To: <200609222358.54065.thresh@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On Fri, Sep 22, 2006 at 11:58:53PM +0400, Pavlov Konstantin wrote:
> On Friday 22 September 2006 23:07, Olvin wrote:
> > Vitaly Ostanin wrote:
> > > Стыдно признаться, но до сих пор я добавлял пользователя в группу
> > > редактированием /etc/group.
> > > Скажите, а можно это делать утилитой, предназначенной для?
> > > Чтоб без разбора id -Gn с последующим скармливанием usermod.
> > > Должны же быть родные способы.
> >
> > apt-get install groupkit
> > addusertogroup user group
> > deluserfromgroup user group
> 
> Век живи, век учись. Спасибо.

Не надо использовать врапперы из пакета groupkit - в них есть race
conditions.  Есть ведь канонический инструмент, gpasswd.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-09-23 14:50 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 13:12 Vitaly Ostanin
2006-09-22 13:22 ` Alex Gorbachenko
2006-09-22 13:36 ` Шенцев Алексей Владимирович
2006-09-22 14:33   ` Denis G. Samsonenko
2006-09-25  4:48     ` Шенцев Алексей Владимирович
2006-09-27 13:15     ` Vitaly Ostanin
2006-09-27 14:29       ` Denis G. Samsonenko
2006-09-28 11:13         ` [Comm] [JT] " Vitaly Ostanin
2006-09-28 12:49           ` Denis G. Samsonenko
2006-10-06  4:55           ` Vladimir V. Kamarzin
2006-09-29 22:58         ` [Comm] " Dmitry V. Levin
2006-09-30  2:33           ` Denis G. Samsonenko
2006-09-30 12:53             ` Yura Kalinichenko
2006-09-22 19:07 ` Olvin
2006-09-22 19:58   ` Pavlov Konstantin
2006-09-23 14:50     ` Dmitry V. Levin [this message]
2006-09-23 15:13       ` Denis G. Samsonenko
2006-09-23 16:35         ` Alexey Rusakov
2006-09-23 16:50           ` Michael Shigorin
2006-09-23 17:26             ` Alexey Rusakov
2006-09-23 17:32               ` Michael Shigorin
2006-09-23 19:23                 ` Alexey Rusakov
2006-09-23 19:27                   ` Michael Shigorin
2006-09-24 18:07                 ` Alexey Rusakov
2006-09-23 16:12       ` Olvin
2006-09-24 12:09         ` Dmitry V. Levin
2006-09-24 13:40           ` Olvin
2006-09-25 17:09             ` Fr. Br. George
2006-09-23 16:14     ` Evgenii Terechkov

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=20060923145025.GA23040@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --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