From: Oleg Zenin <zenin_o@ihep.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] Перестала работать авторизация по паролю при заходе по ssh в lxc-контейнер
Date: Tue, 19 Oct 2021 21:03:18 +0300 (MSK)
Message-ID: <alpine.LFD.2.01.2110192019330.2172@localhost.localdomain> (raw)
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1343 bytes --]
День/вечер добрый,
После перезагрузки хост-машины (p9) с lxc-контейнерами (p8, branch 4.0) в lxc-контейнерах возникла
неожиданная проблема:
sshd перестал пускать обычных юзеров по паролю, в /var/log/secure при
троекратном наборе пароля такое:
2021-10-19T17:37:52.105685+00:00 hera sshd[3739]: pam_tcb(sshd:auth): Authentication passed for test1 from (uid=0)
2021-10-19T17:38:08.142654+00:00 hera sshd[3739]: pam_tcb(sshd:auth): Authentication passed for test1 from (uid=0)
2021-10-19T17:38:12.245085+00:00 hera sshd[3739]: pam_tcb(sshd:auth): Authentication passed for test1 from (uid=0)
Cессия при этом не запускается, записей вида 'pam_tcb(sshd:session): ...' нет.
При этом, если включить PermitRootLogin yes в /etc/openssh/sshd_config,
то sshd root'а пускает по паролю, в /var/log/secure все ожидаемо:
2021-10-19T17:41:36.316794+00:00 hera sshd[4017]: pam_tcb(sshd:auth): Authentication passed for root from (uid=0)
2021-10-19T17:41:36.318928+00:00 hera sshd[4017]: pam_tcb(sshd:session): Session opened for root by (uid=0)
...
В то же время, sshd пускает обычных юзеров по publickey.
`su -l обычный_юзер' из-под другого юзера из группы wheel тоже работает.
На хост-машине sshd работает при этом нормально, других странностей не замечено.
Не подскажете, куда рыть?
Спасибо, с уважением,
Зенин О.В.
next reply other threads:[~2021-10-19 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 18:03 Oleg Zenin [this message]
2021-10-20 8:32 ` Oleg Zenin
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=alpine.LFD.2.01.2110192019330.2172@localhost.localdomain \
--to=zenin_o@ihep.ru \
--cc=sisyphus@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 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