ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: sergey ivanov <seriv@parkheights.dyndns.org>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] pam: не понимаю. Подскажите, пожалуйста.
Date: Wed, 27 Jul 2005 18:56:20 -0400
Message-ID: <42E81114.4080601@parkheights.dyndns.org> (raw)
In-Reply-To: <42E7F497.3070102@parkheights.dyndns.org>

Ещё дополнительная информация:
если в /etc/pam.d/system-auth
закомментировать строчку
# account  required  pam_mktemp.so
то проблема с аутентификацией уходит.
Вопрос: что хорошего уходит вместе с нею?
    Сергей.
sergey ivanov пишет:

>Извините, видимо я вопрос задаю сумбурно. Попробую точнее.
>Итак, перенёс корневой раздел со SCSI диска на IDE, командой
># cp -a -x / /dev/hda6
>Изначально на SCSI стоит недавно установленный compact-3.0-rc2. (В
>котором всё хорошо работает)
>Подправил права на /tmp, /dev, подправил /etc/fstab.
>Перегенерировал новый initrd с нужными модулями.
>Загружаюсь grub'ом в новый линукс.
>И не работает аутентификация. Хотя всё стартует включая kdm.
>Аутентификация не работает, хотя косвенно могу (заменив в inittab
>mingetty на bash в одной из виртуальных консолей) загрузиться, работать,
>менять пароли, даже от имени пользователей, то есть с проверкой
>предыдущего пароля)
>Это сопровождается сообщениями странными. В mingetty:
>--
>pam_tcb[8386]:  login: Authentication passed for root from (uid=0)
>Login incorrect
>--
>Далее, запускаю sshd в debug mode и захожу из консоли и получаю:
>--
># /usr/sbin/sshd -D -d -p 2222
>....
>debug1: PAM password authentication accepted for seriv
>Accepted password for seriv from 127.0.0.1 port 60874 ssh2
>PAM rejected by account configuration[14]: Cannot make/remove an entry
>for the specified session
>....
>И ещё имею в /var/log/user/errors строчки:
>---
>Jul 27 12:56:14 hadar UNSPECIFIED (__progname="passwd" uid=500 gid=500
>egid=26): PAM unable to dlopen(/lib/security/pam_mktemp.so)
>Jul 27 12:56:14 hadar UNSPECIFIED (__progname="passwd" uid=500 gid=500
>egid=26): PAM [dlerror: /lib/security/pam_mktemp.so: cannot open shared
>object file: Permission denied]
>Jul 27 12:56:14 hadar UNSPECIFIED (__progname="passwd" uid=500 gid=500
>egid=26): PAM adding faulty module: /lib/security/pam_mktemp.so
>...
>и очень много строчек:
>Jul 27 15:28:09 hadar hal.hotplug[25877]: DEVPATH is not set (subsystem pci)
>Jul 27 15:28:09 hadar hal.hotplug[25904]: DEVPATH is not set (subsystem pci)
>Jul 27 15:28:09 hadar hal.hotplug[25931]: DEVPATH is not set (subsystem pci)
>
>Помогите пожалуйста разобраться.
>       Сергей.
>  
>



  parent reply	other threads:[~2005-07-27 22:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27 17:59 sergey ivanov
2005-07-27 19:39 ` sergey ivanov
2005-07-27 20:54 ` sergey ivanov
2005-07-27 21:30   ` Boldin Pavel
2005-07-27 22:56   ` sergey ivanov [this message]
2005-07-28  7:31     ` Andrii Dobrovol`s`kii
2005-07-28  9:16       ` [sisyphus] " Michael Shigorin
2005-07-28 15:54       ` [sisyphus] " sergey ivanov

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=42E81114.4080601@parkheights.dyndns.org \
    --to=seriv@parkheights.dyndns.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git