ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg K.Artemjev <olli@rbauto.ru>
To: community@altlinux.ru
Subject: Re: [Comm] "vlock" - low security
Date: Thu, 4 Sep 2003 09:36:34 +0400
Message-ID: <20030904093634.7f1d9b8d.olli@rbauto.ru> (raw)
In-Reply-To: <20030903095445.GD22854@inferno.immo>

On Wed, 3 Sep 2003 13:54:45 +0400
"Alexey I. Froloff" <raorn@immo.ru> wrote:

> * aen <aen@altlinux.ru> [030903 12:41]:
> > >Случайно обнаружил, что если под root запустить mc,
> > >а затем закрыть root-консоль через
> > ># vlock
> > >то отпереть ее можно без ввода root-passwd, а просто
> > >перейти по <Ctrl+o> в окно mc!
> > Пожалуйста, занесите это в bugzilla.altlinux.ru на vlock.
> Это багофича mc...
С какой радости bago?  Это нормальное поведение, другого и быть не должно.
vlock доступен тот виртуальный терминал с которого он запущен. Этот 
терминал и запирается. В случае если это консоль - можно перехватить упрваление Ctrl-Alt-F<*>,
вот вам и vlock -a. Если же некая программа например screen запущена с ключем -e^bb - откуда
vlock узнает о том, что это так и надо еще <^b> запрещать? Так, например, под X есть способы 
открыть другое окно, так что перехватывать C-M-<F*> - мертвому припарка. Hot keys зависят от 
настроек WM, так что уже с любой недефолтной настройкой возникают проблемы. Если идти по этому
пути придется подстраивать прграмму под любой новый софт умеющий открывать новый подпроцесс из
текущего по hot-key, да еще и учится читать его конфиги, если hot-key программируемый. Это 
порочный путь. :/ Так что багом здесь не пахнет. :|

-- 
Bye.Olli.			http://olli.digger.org.ru




  reply	other threads:[~2003-09-04  5:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-03  7:27 Aleksander N. Gorohovski
2003-09-03  8:59 ` John A. Gladkikh
2003-09-03  9:07 ` aen
2003-09-03  9:54   ` Alexey I. Froloff
2003-09-04  5:36     ` Oleg K.Artemjev [this message]
2003-09-03 12:37   ` [Comm] " Alexey Tourbin
2003-09-04  5:40   ` [Comm] " Oleg K.Artemjev
2003-09-04 23:39   ` Dmitry V. Levin
2003-09-03  9:41 ` [Comm] " Michael Shigorin
2003-09-03 11:58 ` [Comm] " Sergey V Turchin
2003-09-04  5:27   ` Oleg K.Artemjev
2003-09-04 18:00     ` Sergey V Turchin
2003-09-05  7:31       ` Oleg K.Artemjev
2003-09-05 10:35         ` Sergey V Turchin
2003-09-03 16:16 ` Mikhail Arkhipov
2003-09-04  5:22   ` Alexey I. Froloff
2003-09-04  5:26     ` Leonid B. Sysoletin
2003-09-04  6:16       ` Alexey I. Froloff
2003-09-04 18:33     ` [Comm][JT] " Mikhail Arkhipov

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=20030904093634.7f1d9b8d.olli@rbauto.ru \
    --to=olli@rbauto.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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