* Re: [mdk-re] users & devices @ 2001-04-23 12:23 ` Dmitry V. Levin 2001-04-23 19:34 ` Yura Zotov 0 siblings, 1 reply; 5+ messages in thread From: Dmitry V. Levin @ 2001-04-23 12:23 UTC (permalink / raw) To: Linux-Mandrake RE Mailing List [-- Attachment #1: Type: text/plain, Size: 1034 bytes --] 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 +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] users & devices 2001-04-23 12:23 ` [mdk-re] users & devices Dmitry V. Levin @ 2001-04-23 19:34 ` Yura Zotov 2001-04-23 19:58 ` Yura Zotov 0 siblings, 1 reply; 5+ messages in thread From: Yura Zotov @ 2001-04-23 19:34 UTC (permalink / raw) To: Linux-Mandrake RE Mailing List; +Cc: Dmitry V. Levin 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. -- Юрий А. Зотов ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] users & devices 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 0 siblings, 2 replies; 5+ messages in thread From: Yura Zotov @ 2001-04-23 19:58 UTC (permalink / raw) To: Linux-Mandrake RE Mailing List; +Cc: Dmitry V. Levin 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. вылечил у себя перезагрузкой, так как ковыряться лень. -- Юрий А. Зотов ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] users & devices 2001-04-23 19:58 ` Yura Zotov @ 2001-04-23 20:03 ` Dmitry V. Levin 2001-04-23 22:09 ` Sergei 1 sibling, 0 replies; 5+ messages in thread From: Dmitry V. Levin @ 2001-04-23 20:03 UTC (permalink / raw) To: Linux-Mandrake RE Mailing List [-- Attachment #1: Type: text/plain, Size: 857 bytes --] On Mon, Apr 23, 2001 at 07:59:31PM +0400, Yura Zotov wrote: > Попробовал - написал, оказалось не все так просто. После описанной > процедуры восстановил /dev/* командой > > rpm -Uvh --replacefiles --replacepkgs dev-3.0.6-ipl5mdk.i586.rpm > > однако, при логине пользователь уже НЕ становился владельцем устройств, им > оставался root. вылечил у себя перезагрузкой, так как ковыряться лень. Достаточно было "разлогинить" (возможно, дважды) всех залогиненных пользователей. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [mdk-re] users & devices 2001-04-23 19:58 ` Yura Zotov 2001-04-23 20:03 ` Dmitry V. Levin @ 2001-04-23 22:09 ` Sergei 1 sibling, 0 replies; 5+ messages in thread From: Sergei @ 2001-04-23 22:09 UTC (permalink / raw) To: mandrake-russian 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-модули работают при открытии защищенной сессии. То есть после смены настроек их активация только через повторный вход в сессию (то есть заново запустить программу, которая использует эти ресурсы) -- С уважением, Епифанов Сергей ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-04-23 22:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-04-23 12:23 ` [mdk-re] users & devices 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
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