public inbox for gentoo-user-ru@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-ru] обновление pam
@ 2007-11-01 19:31 GoR
  2007-11-02  4:57 ` GoR
  2007-11-02  5:44 ` alexey conovalov
  0 siblings, 2 replies; 10+ messages in thread
From: GoR @ 2007-11-01 19:31 UTC (permalink / raw
  To: gentoo-user-ru

интересует вопрос как его обновить


Код:
>  * Your current setup is using the pam_stack module.
>  * This module is deprecated and no more supported, and since version
>  * 0.99 is no more installed, nor provided by any other package.
>  * The package will be built (to allow binary package builds), but will
>  * not be installed.
>  * Please replace pam_stack usage with proper include directive usage,
>  * following the PAM Upgrade guide at the following URL
>  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml



вот дока http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml

сам ничего не понял :/

-- 
gor@xeb.homelinux.net - JID




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-01 19:31 [gentoo-user-ru] обновление pam GoR
@ 2007-11-02  4:57 ` GoR
  2007-11-02  5:00   ` GoR
  2007-11-02  5:44 ` alexey conovalov
  1 sibling, 1 reply; 10+ messages in thread
From: GoR @ 2007-11-02  4:57 UTC (permalink / raw
  To: gentoo-user-ru

GoR пишет:
> интересует вопрос как его обновить
>
>
> Код:
>>  * Your current setup is using the pam_stack module.
>>  * This module is deprecated and no more supported, and since version
>>  * 0.99 is no more installed, nor provided by any other package.
>>  * The package will be built (to allow binary package builds), but will
>>  * not be installed.
>>  * Please replace pam_stack usage with proper include directive usage,
>>  * following the PAM Upgrade guide at the following URL
>>  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>
>
>
> вот дока http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>
> сам ничего не понял :/
>
etc-update решил проблему!

-- 
gor@xeb.homelinux.net - JID




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-02  4:57 ` GoR
@ 2007-11-02  5:00   ` GoR
  2007-11-02  5:44     ` Alex
  0 siblings, 1 reply; 10+ messages in thread
From: GoR @ 2007-11-02  5:00 UTC (permalink / raw
  To: gentoo-user-ru

[-- Attachment #1: Type: text/plain, Size: 4039 bytes --]

GoR пишет:
> GoR пишет:
>> интересует вопрос как его обновить
>>
>>
>> Код:
>>>  * Your current setup is using the pam_stack module.
>>>  * This module is deprecated and no more supported, and since version
>>>  * 0.99 is no more installed, nor provided by any other package.
>>>  * The package will be built (to allow binary package builds), but will
>>>  * not be installed.
>>>  * Please replace pam_stack usage with proper include directive usage,
>>>  * following the PAM Upgrade guide at the following URL
>>>  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>>
>>
>>
>> вот дока http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>>
>> сам ничего не понял :/
>>
> etc-update решил проблему!
>
сорри рано отписался, проблему он не решил... при копировании 
скомпиленных библиотек вылазиет

> ecompressdir: bzip2 -9 usr/share/man
> strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
>    lib64/libpamc.so.0.81.0
>    lib64/libpam_misc.so.0.81.2
>    lib64/security/pam_limits.so
>    lib64/security/pam_shells.so
>    lib64/security/pam_mkhomedir.so
>    lib64/security/pam_echo.so
>    lib64/security/pam_mail.so
>    lib64/security/pam_securetty.so
>    lib64/security/pam_namespace.so
>    lib64/security/pam_umask.so
>    lib64/security/pam_motd.so
>    lib64/security/pam_access.so
>    lib64/security/pam_permit.so
>    lib64/security/pam_rhosts.so
>    lib64/security/pam_exec.so
>    lib64/security/pam_xauth.so
>    lib64/security/pam_localuser.so
>    lib64/security/pam_debug.so
>    lib64/security/pam_rhosts_auth.so
>    lib64/security/pam_filter.so
>    lib64/security/pam_issue.so
>    lib64/security/pam_warn.so
>    lib64/security/pam_stress.so
>    lib64/security/pam_loginuid.so
>    lib64/security/pam_faildelay.so
>    lib64/security/pam_ftp.so
>    lib64/security/pam_cracklib.so
>    lib64/security/pam_tally.so
>    lib64/security/pam_filter/upperLOWER
>    lib64/security/pam_deny.so
>    lib64/security/pam_succeed_if.so
>    lib64/security/pam_wheel.so
>    lib64/security/pam_listfile.so
>    lib64/security/pam_lastlog.so
>    lib64/security/pam_group.so
>    lib64/security/pam_rootok.so
>    lib64/security/pam_nologin.so
>    lib64/security/pam_keyinit.so
>    lib64/security/pam_env.so
>    lib64/security/pam_time.so
>    lib64/security/pam_unix.so
>    lib64/libpam.so.0.81.8
>    sbin/pam_tally
>    sbin/unix_chkpwd
> removing executable bit: usr/lib64/libpamc.la
> removing executable bit: usr/lib64/libpam.la
> removing executable bit: usr/lib64/libpam_misc.la
> * checking 209 files for package collisions
> >>> Merging sys-libs/pam-0.99.8.1-r1 to /
>  *
>  * Your current setup is using the pam_stack module.
>  * This module is deprecated and no longer supported, and since version
>  * 0.99 is no longer installed, nor provided by any other package.
>  * The package will be built (to allow binary package builds), but will
>  * not be installed.
>  * Please replace pam_stack usage with proper include directive usage,
>  * following the PAM Upgrade guide at the following URL
>  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>  *
>  *
>  * ERROR: sys-libs/pam-0.99.8.1-r1 failed.
>  * Call stack:
>  *                ebuild.sh, line 1711:  Called dyn_preinst
>  *                ebuild.sh, line 1150:  Called pkg_preinst
>  *   pam-0.99.8.1-r1.ebuild, line  162:  Called die
>  * The specific snippet of code:
>  *      check_old_modules || die "deprecated PAM modules still used"
>  *  The die message:
>  *   deprecated PAM modules still used
>  *
>  * If you need support, post the topmost build error, and the call 
> stack if relevant.
>  * A complete build log is located at 
> '/var/tmp/portage/sys-libs/pam-0.99.8.1-r1/temp/build.log'.




-- 
gor@xeb.homelinux.net - JID


[-- Attachment #2: build.log --]
[-- Type: application/octet-stream, Size: 311576 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-02  5:00   ` GoR
@ 2007-11-02  5:44     ` Alex
  2007-11-02 12:45       ` GoR
  0 siblings, 1 reply; 10+ messages in thread
From: Alex @ 2007-11-02  5:44 UTC (permalink / raw
  To: gentoo-user-ru

На Fri, 02 Nov 2007 05:00:34 +0000
GoR <gor@tsend.ru> записано:

> GoR пишет:
> > GoR пишет:
> >> интересует вопрос как его обновить
> >>
> >>
> >> Код:
> >>>  * Your current setup is using the pam_stack module.
> >>>  * This module is deprecated and no more supported, and since
> >>> version
> >>>  * 0.99 is no more installed, nor provided by any other package.
> >>>  * The package will be built (to allow binary package builds),
> >>> but will
> >>>  * not be installed.
> >>>  * Please replace pam_stack usage with proper include directive
> >>> usage,
> >>>  * following the PAM Upgrade guide at the following URL
> >>>  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
> >>
> >>
> >>
> >> вот дока http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
> >>
> >> сам ничего не понял :/
> >>
> > etc-update решил проблему!
> >
> сорри рано отписался, проблему он не решил... при копировании 
> скомпиленных библиотек вылазиет

> > * checking 209 files for package collisions
> > >>> Merging sys-libs/pam-0.99.8.1-r1 to /
> >  *
> >  * Your current setup is using the pam_stack module.
> >  * This module is deprecated and no longer supported, and since
> > version
> >  * 0.99 is no longer installed, nor provided by any other package.
> >  * The package will be built (to allow binary package builds), but
> > will
> >  * not be installed.
> >  * Please replace pam_stack usage with proper include directive
> > usage,
> >  * following the PAM Upgrade guide at the following URL
> >  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
> >  *
> >  *
> >  * ERROR: sys-libs/pam-0.99.8.1-r1 failed.
> >  * Call stack:
> >  *                ebuild.sh, line 1711:  Called dyn_preinst
> >  *                ebuild.sh, line 1150:  Called pkg_preinst
> >  *   pam-0.99.8.1-r1.ebuild, line  162:  Called die
> >  * The specific snippet of code:
> >  *      check_old_modules || die "deprecated PAM modules still used"
> >  *  The die message:
> >  *   deprecated PAM modules still used
> >  *
> >  * If you need support, post the topmost build error, and the call 
> > stack if relevant.
> >  * A complete build log is located at 
> > '/var/tmp/portage/sys-libs/pam-0.99.8.1-r1/temp/build.log'.
> 
Ведь ясно пишет по-английски и даже ссылку дает где почитать
Нужно заменить во всех конфигурационных файлах /etc/pam.d/
 pam_stack на include

было что-то вроде required pam_stack module=system-auth
станет просто include system-auth

А потом уже делать emerge






^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-01 19:31 [gentoo-user-ru] обновление pam GoR
  2007-11-02  4:57 ` GoR
@ 2007-11-02  5:44 ` alexey conovalov
  1 sibling, 0 replies; 10+ messages in thread
From: alexey conovalov @ 2007-11-02  5:44 UTC (permalink / raw
  To: gentoo-user-ru

1. Note: Don't be scared of this guide: if you installed your system
after about September 2005, the upgrade path should be quite painless,
and this guide will just be an interesting read to you. If your system
is older, but you upgraded regularly, and didn't configure PAM
manually, you should also be fine, as most of the configuration files
would have been upgraded already for you. If you customised your PAM
configuration, you will probably have to upgrade it manually, but then
you should already know how to handle that.

т.е.  если ставились с 2005 (наверное 2005,1) и самостоятельно ничего
не настраивали в /etc/pam.d./  - все должно пройти незаметно

2. Если проблема возникает -  лезем в

cd /etc/pam.d/
смотрим кто использует pam_stack.so

меняем строчки типа
auth    required     pam_stack.so
session    required     pam_stack.so
password required     pam_stack.so

на аналогичные
auth    include      system-auth
session include      system-auth
password include      system-auth

если в ваших конфигах есть еще reqired модули после pam_stack.so

например
auth    required     pam_stack.so
auth    required     pam_unix.so
auth    required     pam_securetty.so

то include system-auth ставим после них

auth    required     pam_unix.so
auth    required     pam_securetty.so
auth    include      system-auth



2007/11/1, GoR <gor@tsend.ru>:
> интересует вопрос как его обновить
>
>
> Код:
> >  * Your current setup is using the pam_stack module.
> >  * This module is deprecated and no more supported, and since version
> >  * 0.99 is no more installed, nor provided by any other package.
> >  * The package will be built (to allow binary package builds), but will
> >  * not be installed.
> >  * Please replace pam_stack usage with proper include directive usage,
> >  * following the PAM Upgrade guide at the following URL
> >  *   http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>
>
>
> вот дока http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
>
> сам ничего не понял :/
>
> --
> gor@xeb.homelinux.net - JID
>
>
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-02  5:44     ` Alex
@ 2007-11-02 12:45       ` GoR
  2007-11-03  8:08         ` alexey conovalov
  0 siblings, 1 reply; 10+ messages in thread
From: GoR @ 2007-11-02 12:45 UTC (permalink / raw
  To: gentoo-user-ru

тоесть например:
auth       required    /lib/security/pam_stack.so service=system-auth
заменить на
auth       required    /lib/security/include.so service=system-auth

-- 
gor@xeb.homelinux.net - JID





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-02 12:45       ` GoR
@ 2007-11-03  8:08         ` alexey conovalov
  2007-11-03  8:40           ` GoR
  0 siblings, 1 reply; 10+ messages in thread
From: alexey conovalov @ 2007-11-03  8:08 UTC (permalink / raw
  To: gentoo-user-ru

нет
просто

auth include system-auth


2007/11/2, GoR <gor@tsend.ru>:
> тоесть например:
> auth       required    /lib/security/pam_stack.so service=system-auth
> заменить на
> auth       required    /lib/security/include.so service=system-auth
>
> --
> gor@xeb.homelinux.net - JID
>
>
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-03  8:08         ` alexey conovalov
@ 2007-11-03  8:40           ` GoR
  2007-11-03 10:36             ` GoR
  0 siblings, 1 reply; 10+ messages in thread
From: GoR @ 2007-11-03  8:40 UTC (permalink / raw
  To: gentoo-user-ru

alexey conovalov пишет:
> нет
> просто
>
>
>   
auth       required    /lib/security/pam_stack.so service=system-auth
заменить на
auth include system-auth

?
-- 
gor@xeb.homelinux.net - JID
http://vkgdt.vsi.ru/ - Неоффициальный сайт вкждт




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-03  8:40           ` GoR
@ 2007-11-03 10:36             ` GoR
  2007-11-03 11:04               ` GoR
  0 siblings, 1 reply; 10+ messages in thread
From: GoR @ 2007-11-03 10:36 UTC (permalink / raw
  To: gentoo-user-ru

GoR пишет:
> alexey conovalov пишет:
>> нет
>> просто
>>
>>
>>   
> auth       required    /lib/security/pam_stack.so service=system-auth
> заменить на
> auth include system-auth
>
> ?
поменял, через поиск перепроверил, всёравно не компилится...

-- 
gor@xeb.homelinux.net - JID
http://vkgdt.vsi.ru/ - Неоффициальный сайт вкждт




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user-ru] обновление pam
  2007-11-03 10:36             ` GoR
@ 2007-11-03 11:04               ` GoR
  0 siblings, 0 replies; 10+ messages in thread
From: GoR @ 2007-11-03 11:04 UTC (permalink / raw
  To: gentoo-user-ru

Проблема решена!

ps спасибо gentoo.ru

-- 
gor@xeb.homelinux.net - JID
http://vkgdt.vsi.ru/ - Неоффициальный сайт вкждт




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-03 11:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 19:31 [gentoo-user-ru] обновление pam GoR
2007-11-02  4:57 ` GoR
2007-11-02  5:00   ` GoR
2007-11-02  5:44     ` Alex
2007-11-02 12:45       ` GoR
2007-11-03  8:08         ` alexey conovalov
2007-11-03  8:40           ` GoR
2007-11-03 10:36             ` GoR
2007-11-03 11:04               ` GoR
2007-11-02  5:44 ` alexey conovalov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox