ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Evgeny Yugov <evgeny.yugov@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Автоматическое добавление пользователя в локальную группу...
Date: Tue, 22 Apr 2008 16:14:04 +0700
Message-ID: <480DAC5C.6080200@gmail.com> (raw)
In-Reply-To: <6c7be88d0804220131jde82759xd1622008291fc2d9@mail.gmail.com>

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

Даже не рядом...

Собственно нашлось решение:

Evgueni Belenkov пишет:
------------------------------------------------------------------------
/etc/security/group.conf - здесь указываем в какие группы должны быть
добавлены пользователи
/etc/pam.d/common-auth - здесь добавляем перед всем строчками строку 
auth optional pam_group.so

работает нормально при логине пользователей из AD (за исключением группы
plugdev - вроде как id имяпользователя выдает его принадлежность к 
группе но монтировать сменные носители hal не хочет... вылечилось только 
явным добавление конкретных пользователtй в группу plugdev)
------------------------------------------------------------------------

Попутно нашлось:

pam-devperm
pam_setcred

Возможно первое поможет решить "проблему" с plugdev...

Dmitriy Kruglikov пишет:
> 22.04.08, Evgeny Yugov написал(а):
>>  Но возникла проблема, автоматически добавлять пользователей
>>  в локальные  группы типа: plugdev, audio, ...
>>  Вот чувствую, что можно и вроде просто, но не пойму как -- диллема.
> Создать (использовать) группу, в которую обязательно попадают
> пользователи при создании.
> Эту группу включить в нужные группы (plugdev, audio, ...)
> И все ...
> Например, группа Domain Users...
> 

-- 
Здесь могла быть ваша реклама...



      reply	other threads:[~2008-04-22  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-22  8:10 Evgeny Yugov
2008-04-22  8:31 ` Dmitriy Kruglikov
2008-04-22  9:14   ` Evgeny Yugov [this message]

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=480DAC5C.6080200@gmail.com \
    --to=evgeny.yugov@gmail.com \
    --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