ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergei <serpiph@pochtamt.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] users & devices
Date: Mon Apr 23 22:09:10 2001
Message-ID: <01042322164404.07649@pif.b5.mephi.ru> (raw)
In-Reply-To: <20010423195931.A1241@vezyolka.dgap.mipt.ru>

23 Апрель 2001 19:59 Вы написали:
> On Mon, Apr 23, 2001 at 07:36:05PM +0400, Yura Zotov wrote:
> > On Mon, Apr 23, 2001 at 12:27:46PM +0400, Dmitry V. Levin wrote:
> > > On Mon, Apr 23, 2001 at 09:57:16AM +0400, Yura Zotov wrote:
> > > > Подскажите, пожалуйста, какая прога или скрипт или еще что меняет
> > > > права доступа и владельца устройств при логине пользователя, а потом
> > > > восстанавливает? Откуда она узнает, что нужно менять? Просто это у
> > > > меня
> > >
> > > Это делает PAM-модуль /security/pam_console.so согласно правилам,
> > > указанным в конфигурационном файле /etc/security/console.perms
> > >
> > > > немного глючит, иногда не восстанавливает и не устанавливает. Очень
> > > > хочется разобраться, а то пока эти глюки лечатся перезагрузкой.
> > >
> > > Расскажите как можно более подробно, что и как именно глючит.
> > > Есть небольшая вероятность, что это ошибка в PAM.
> > >
> > >
> > > Regards,
> > > 	Dmitry
> >
> > Мне кажется, что я понял от чего у меня остаются устройства во владении
> > пользователя. Оказывается, если будучи залогиненным в X убить X через
> > Ctrl+Alt+Backspace, то оно так и получается. Про PAM ничего не знаю, так
> > что сами решайте ошибка это или нет. А я запрещу Ctrl+Alt+Bachspace в X.
> >
> > --
> > Юрий А. Зотов
>
> Попробовал - написал, оказалось не все так просто. После описанной
> процедуры восстановил /dev/* командой
>
> rpm -Uvh --replacefiles --replacepkgs dev-3.0.6-ipl5mdk.i586.rpm
>
> однако, при логине пользователь уже НЕ становился владельцем устройств, им
> оставался root. вылечил у себя перезагрузкой, так как ковыряться лень.
PAM-модули работают при открытии защищенной сессии. То есть после смены 
настроек их активация только через повторный вход в сессию (то есть заново 
запустить программу, которая использует эти ресурсы)

-- 
С уважением, Епифанов Сергей



      parent reply	other threads:[~2001-04-23 22:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-23 12:23 ` Dmitry V. Levin
2001-04-23 19:34   ` Yura Zotov
2001-04-23 19:58     ` Yura Zotov
2001-04-23 20:03       ` Dmitry V. Levin
2001-04-23 22:09       ` Sergei [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=01042322164404.07649@pif.b5.mephi.ru \
    --to=serpiph@pochtamt.ru \
    --cc=mandrake-russian@altlinux.ru \
    /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