ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Блокировка экрана.
Date: Sun, 27 Jan 2008 17:03:44 +0300
Message-ID: <20080127140344.GA30276@wo.int.altlinux.org> (raw)
In-Reply-To: <20080127131643.GA3644@utvuk.orbita>

[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]

On Sun, Jan 27, 2008 at 04:16:44PM +0300, Afanasov Dmitry wrote:
> On Sun, Jan 27, 2008 at 02:09:17AM +0300, Dmitry V. Levin wrote:
> > On Sat, Jan 26, 2008 at 10:38:06PM +0300, Afanasov Dmitry wrote:
> > > On Sat, Jan 26, 2008 at 07:38:22PM +0300, Dmitry V. Levin wrote:
> > > > > если он, тогда 
> > > > > # chgrp chkpwd /usr/lib/chkpwd
> > > > 
> > > > Каталог /usr/lib/chkpwd и так принадлежит группе chkpwd.
> > > у меня после установки xscrensaver не принадлежал.
> > 
> > А до установки xscreensaver принадлежал?
> вот это не смотрел. файл оказывается принадлежит pam0_tcb - что-то в его
> сторону я не думал. а как раз pam файлы hasher'ом распаковываются без
> выполнения скриптов (--noscripts).
> 
> мне что-то интересно, а где тогда в инсталляторе скрипты отрабатывают?
> 
> > Ввиду особенностей установки вашей системы рекомендую выполнить
> > # rpmverify -Va
> > и посмотреть вывод на предмет неправильных прав на файлы.
> спасибо за подсказку. 
> # rpmverify -V pam0_tcb
> ......G.   /usr/lib/chkpwd
> 
> rpm --setperms pam0_tcb и rpm --setugids pam0_tcb дали следующее:
> rpmverify -V pam0_tcb больше не ругается
> а содержимое:
> # ls -la /usr/lib/chkpwd      
> итого 51
> drwx--x---  2 root chkpwd    80 Янв  5 06:28 .
> drwxr-xr-x 81 root root   44304 Янв 27 15:53 ..
> -rwx------  1 root root    4932 Ноя  2  2006 tcb_chkpwd
> 
> rpmverify -V xscreensaver не ругается
> 
> # ls -l =xscreensaver
> -rwx--s--x 1 root chkpwd 212552 Ноя 14 18:36 /usr/bin/xscreensaver
> 
> одно меня смущает: xscreensaver будет работать под моим пользователем. для
> tcb_chkpwd прав на группу нет. 
> 
> могу и сам исправить, но интересно как должно бытьт реально.

# control tcb_chkpwd tcb


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-01-27 14:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26 12:42 Евгений
2008-01-26 12:46 ` Eugene Ostapets
2008-01-26 13:28 ` Afanasov Dmitry
2008-01-26 13:40   ` Евгений
2008-01-26 13:46     ` Евгений
2008-01-26 16:39       ` Dmitry V. Levin
2008-01-26 16:38   ` Dmitry V. Levin
2008-01-26 19:38     ` Afanasov Dmitry
2008-01-26 23:09       ` Dmitry V. Levin
2008-01-27 13:16         ` Afanasov Dmitry
2008-01-27 14:03           ` Dmitry V. Levin [this message]
2008-01-26 15:20 ` Slava Semushin
2008-01-26 16:41   ` Dmitry V. Levin
2008-01-28  6:00     ` Slava Semushin
2008-01-28 10:36       ` [sisyphus] tcb_chkpwd Dmitry V. Levin
2008-01-28 10:42         ` Slava Semushin
2008-01-28 10:46           ` Dmitry V. Levin
2008-01-28 10:52             ` Slava Semushin
2008-01-28 10:59               ` Dmitry V. Levin
2008-01-28 12:29           ` Kirill A. Shutemov

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=20080127140344.GA30276@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