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: Fri, 2 Apr 2010 00:46:48 +0400 Message-ID: <20100401204646.GD31967@wo.int.altlinux.org> (raw) In-Reply-To: <20100401201720.GN1691@osdn.org.ua> [-- Attachment #1: Type: text/plain, Size: 1170 bytes --] On Thu, Apr 01, 2010 at 11:17:20PM +0300, Michael Shigorin wrote: > On Thu, Apr 01, 2010 at 11:10:34PM +0400, Lenar Shakirov wrote: > > 2mike: если все нормально, приложите? > > autologin mike @qa @everybody > > > - pam_set_item(pamh, PAM_TTY, "tty0"); > > + pam_set_item(pamh, PAM_TTY, "tty1"); > > > On Thu, Apr 01, 2010 at 11:53:32PM +0400, Dmitry V. Levin wrote: > > > -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. > > 1) но ведь этому current соответствует какое-то число, > есть ли реальное различие в семантике? /dev/tty0 -- это не symlink, это такое специальное устройство для адресации активной (c точки зрения ядра) виртуальной консоли. > 2) а что по поводу патча скажешь? Или получается прибивание > гвоздиком вместо того, чтоб достать значение current > и pam_set_item() с ним? Ты прав, патч неправильный, надо получить настоящее значение, см. fgconsole(1). -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-04-01 20:46 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 2010-04-01 20:17 ` Michael Shigorin 2010-04-01 20:46 ` Dmitry V. Levin [this message] 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=20100401204646.GD31967@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