From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] autologin + SysVinit-usermode + reboot от пользователя [SOLVED]
Date: Thu, 1 Apr 2010 23:53:32 +0400
Message-ID: <20100401195332.GB31967@wo.int.altlinux.org> (raw)
In-Reply-To: <4BB4EFAA.2030403@cg.ru>
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
On Thu, Apr 01, 2010 at 11:10:34PM +0400, Lenar Shakirov wrote:
> 31.03.2010 13:51, Lenar Shakirov пишет:
> >День добрый!
> >
> >На p5/5.1/Sisyphus не получается ребутнуть
> >систему от
> >непривилегированного пользователя,
> >если юзаю autologin для входа.
> >
> >В /var/log/messages:
> >consolehelper[7894]: pam_authenticate failed: Authentication failure
> >
> >Если отодвинуть /etc/sysconfig/autologin и
> >залогиниться через xdm, то
> >все работает.
> >
> >На branch 4.0 все работает
>
> Патч в аттаче исправляет проблему
>
> autologin сломался после вот этого
> обновления pam:
> 20 февраля 2008 Dmitry V. Levin <ldv at altlinux.org> 0.99.10.0-alt1
>
> Конкретно вот это:
> --- pam0_console-0.99.6.3-alt2/console.handlers
> +++ pam0_console-0.99.10.0-alt1/console.handlers
> -console consoledevs (/dev/)?(tty|vc/)[0-9]+ :[0-9](\.[0-9])?
> +console consoledevs (/dev/)?(tty|vc/)[1-9][0-9]* :[0-9]+(\.[0-9]+)?
>
> Не совсем понятно, почему игнорируется
> tty0?
Потому что /dev/tty0 -- это current virtual console, а не virtual console
номер 0.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-04-01 19:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 9:51 [sisyphus] autologin + SysVinit-usermode + reboot от пользователя Lenar Shakirov
2010-03-31 10:14 ` Motsyo Gennadi aka Drool
2010-04-01 19:10 ` [sisyphus] autologin + SysVinit-usermode + reboot от пользователя [SOLVED] Lenar Shakirov
2010-04-01 19:53 ` Dmitry V. Levin [this message]
2010-04-01 20:17 ` Michael Shigorin
2010-04-01 20:46 ` Dmitry V. Levin
2010-04-02 8:54 ` [sisyphus] autologin + SysVinit-usermode + reboot от пользователя Michael Shigorin
2010-04-02 10:17 ` Lenar Shakirov
2010-04-02 10:37 ` Dmitry V. Levin
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=20100401195332.GB31967@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--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