From: Vitaly Ostanin <vyt@vzljot.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] [JT] How to add user to groups ?
Date: Thu, 28 Sep 2006 15:13:14 +0400
Message-ID: <451BAE4A.7060500@vzljot.ru> (raw)
In-Reply-To: <957265820609270729u6c804139wefc2cceb740612cb@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
Denis G. Samsonenko пишет:
> Вечер добрый!
>
> 27.09.06, Vitaly Ostanin<vyt@vzljot.ru> написал:
>>> А есть возможность некорректно прописать? Там же вроде просто
>>> прописываешь юзера после имени группы и двоеточия и всё.
>> Есть надежда, что gpasswd выставляет блокировку на время
>> редактирования /etc/group. Руками я этого точно не делаю :)
>
> А есть опасение, что пока вы редактируете /etc/group, кто-то ещё может
> туда залезть? Мне сложно это представить.
Мне нужно редактировать членство в группе из скрипта, и делать
это гарантированно верно. gpasswd даёт бОльшую гарантию, чем
id/sed/usermod.
Кроме того, бывают ещё сменные админы.
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
next prev parent reply other threads:[~2006-09-28 11:13 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-22 13:12 [Comm] " 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 ` Vitaly Ostanin [this message]
2006-09-28 12:49 ` [Comm] [JT] " 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
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=451BAE4A.7060500@vzljot.ru \
--to=vyt@vzljot.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