ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как удалить пользователя из группы
@ 2004-06-24 12:39 Slava Dubrovskiy
  0 siblings, 0 replies; only message in thread
From: Slava Dubrovskiy @ 2004-06-24 12:39 UTC (permalink / raw)
  To: Community

Здравствуйте!

Вот настраиваю самбу и там можно указать скрипт в delete user from group 
script. Подскажите, что там надо написать?
Usermod не получается, ему надо передавать все остальные группы 
пользователя.
Т.е. если пользователь Вася состоит в группах 1, 2, 3. Я хочу удалить из 
группы 2. То мне надо сделать 'usermod -G 1,3 Вася', но в самбе нет 
таких VARIABLE SUBSTITUTIONS для указания не primery групп (1,3).

С уважением,
Дубровский Вячеслав.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-24 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-24 12:39 [Comm] Как удалить пользователя из группы Slava Dubrovskiy

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