Re: Q: last -i
- To: debian-russian@lists.debian.org
- Subject: Re: Q: last -i
- From: Yuri Kozlov <yuray@komyakino.ru>
- Date: Tue, 19 Oct 2010 09:14:05 +0400
- Message-id: <20101019091405.64a5ba14@keeper.home.local>
- In-reply-to: <20101018210907.GA27477@kaiba.homelan>
- References: <alpine.DEB.2.00.1010181909130.29429@localhost.localdomain> <20101018210907.GA27477@kaiba.homelan>
В Tue, 19 Oct 2010 01:09:07 +0400
Stanislav Maslovski <stanislav.maslovski@gmail.com> пишет:
> On Mon, Oct 18, 2010 at 07:28:30PM +0400, yuri.nefedov@gmail.com wrote:
> >
> > Давненько меня параноя не мучила, но вот посмотрел
> > я на вывод команды last и он мне не понравился.
> >
> >> last -i -n 5 nefedov
> > nefedov pts/0 159.93.xx.xxx Mon Oct 18 19:09 still logged
> > in nefedov console 96.0.0.0 Mon Oct 18 19:08 still
> > logged in nefedov console 96.0.0.0 Mon Oct 18 19:05 -
> > 19:06 (00:00) nefedov pts/17 159.93.xx.xxx Mon Oct 18 18:42
> > - 18:44 (00:02) nefedov pts/25 159.93.xx.xxx Mon Oct 18
> > 15:00 - 15:12 (00:11)
> >
> > Во первых, что такое console? tty1 или это что-то другое?
>
> Цитирую linux/Documentation/devices.txt:
>
> The console device, /dev/console, is the device to which system
> messages should be sent, and on which logins should be permitted in
> single-user mode. Starting with Linux 2.1.71, /dev/console is managed
> by the kernel; for previous versions it should be a symbolic link to
> either /dev/tty0, a specific virtual console such as /dev/tty1, or to
> a serial port primary (tty*, not cu*) device, depending on the
> configuration of the system.
Вспомнилось, что console можно переназначить в параметре загрузки ядра (например, в serial).
--
Best Regards,
Yuri Kozlov
Reply to: