ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: diver <diver666@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] kscreenlock & kcheckpass
Date: Wed, 30 Nov 2011 15:07:26 +0200
Message-ID: <CAK2uZ2dUrnryo7VK-RuBfgACca36jsjYcsM5ChupXEM3dh4BGw@mail.gmail.com> (raw)
In-Reply-To: <20111130122834.GB32488@altlinux.org>

2011/11/30 Dmitry V. Levin:
> На вид все нормально.  Тогда придется немного поотлаживать.
> Какое, кстати говоря, у вас работает ядро?
>
> Итак, запустите на одном терминале vlock, а на другом после этого
> от рута запустите
> # strace -f -o ~/tmp/vlock.log -p `pidof vlock`
> Далее разлочьте vlock, замените в файле ~/tmp/vlock.log все упоминания о
> вашем пароле на что-нибудь безобидное, и пришлите этот ~/tmp/vlock.log мне.
root@genesis:~$ cat ~/tmp/vlock.log |grep Perm
14975 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14975 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14975 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
14975 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
14976 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14976 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14976 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14976 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14976 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
14976 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
14977 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14977 open("/etc/nsswitch.conf", O_RDONLY) = -1 EACCES (Permission denied)
14977 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
14977 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)

root@genesis:~$ ls -l /etc/nsswitch.conf
---------- 1 root root 1808 Авг 12 16:08 /etc/nsswitch.conf
root@genesis:~$ ls -l /etc/shadow
-r-------- 1 root root 0 Авг 16  2003 /etc/shadow

root@genesis:~$ apt-get install --reinstall glibc-core
Решил вопрос.


root@genesis:~$ control tcb_chkpwd tcb
...
root@genesis:~$ tail -n2 /var/log/messages
Nov 30 15:01:34 genesis vlock[15370]: Locked tty on pts/3 for diver by (uid=500)
Nov 30 15:01:38 genesis vlock[15370]: Unlocked tty on pts/3 for diver
by (uid=500)

Спасибо за помощь. Проблема решилась.
Остался только вопрос что могло так испоганить права?

-- 
LRU: #407670


  reply	other threads:[~2011-11-30 13:07 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 10:38 diver
2011-11-29 12:32 ` Sergey V Turchin
2011-11-29 13:48   ` diver
2011-11-29 14:12     ` Sergey V Turchin
2011-11-29 14:29       ` diver
2011-11-29 14:47         ` Sergey V Turchin
2011-11-29 14:58           ` diver
2011-11-29 15:04             ` Sergey V Turchin
2011-11-29 15:01           ` Sergey V Turchin
2011-11-29 15:05             ` diver
2011-11-29 15:16               ` diver
2011-11-30 11:57                 ` Sergey V Turchin
2011-11-30 12:00                   ` Sergey V Turchin
2011-11-29 14:48         ` Dubrovskiy Viacheslav
2011-11-29 14:55           ` diver
2011-11-29 18:01             ` Anton Farygin
2011-11-29 18:29               ` diver
2011-11-29 19:26                 ` diver
2011-11-29 20:23                   ` diver
2011-11-29 21:11                     ` Dmitry V. Levin
2011-11-29 22:20                       ` diver
2011-11-29 23:02                         ` Dmitry V. Levin
2011-11-29 23:04                           ` Dmitry V. Levin
2011-11-30  6:55                           ` diver
2011-11-30 12:28                             ` Dmitry V. Levin
2011-11-30 13:07                               ` diver [this message]
2011-11-30 13:12                                 ` diver
2011-11-30 13:44                                   ` Dmitry V. Levin
2011-11-30 14:01                                     ` diver
2011-11-30 14:02                                     ` diver
2011-11-30 14:09                                       ` diver
2011-11-30 14:30                                         ` Dmitry V. Levin
2011-11-30 14:34                                           ` diver
2011-11-30 14:39                                             ` Dmitry V. Levin
2011-11-30 14:41                                               ` diver
2011-11-30 14:43                                                 ` diver
2011-11-30 14:57                                                   ` Dmitry V. Levin
2011-11-30 15:02                                                     ` diver
2011-11-30 15:18                                                       ` [sisyphus] rpm-4.0.4-alt100.32 regression Dmitry V. Levin
2011-12-01  2:22                                                         ` Dmitry V. Levin
2011-12-01 13:18                                                         ` [sisyphus] [JT] " Michael Shigorin
2011-11-30 14:11                                       ` [sisyphus] kscreenlock & kcheckpass Dmitry V. Levin
2011-11-30 14:22                                         ` diver
2011-11-30 14:27                                           ` Dmitry V. Levin
2011-11-30 16:54                                   ` Dubrovskiy Viacheslav
2011-11-29 21:05                   ` Dmitry V. Levin
2017-02-03 11:40                     ` [sisyphus] "tcb_chkpwd: user unknown" (was: kscreenlock & kcheckpass) Michael Shigorin

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=CAK2uZ2dUrnryo7VK-RuBfgACca36jsjYcsM5ChupXEM3dh4BGw@mail.gmail.com \
    --to=diver666@gmail.com \
    --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