From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FUZZY_XPILL, RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=WP07gFJt/quTP83LuxOThGw5AVb4kys3XF+vXfstWPM=; b=if6zZOGaK1JU48oi1R68cMMaQwaK/p9DYxkh6+HoXY+09fhspZ49Bqx3kgyv7OOOSj 9/EDWw28fqbQzOWk/LmtVrQodRQ+pIvV29f+5FPpxzEnrk90TClbxNdv2iRq4wreLgDt P7dOesszn7u+shcDpATGrj2gLz8UZWe/0yLvo= MIME-Version: 1.0 In-Reply-To: <20111129230240.GA29714@altlinux.org> References: <2408324.a5iSemSydx@summoner.localdomain> <4ED4F0C6.90803@tangramltd.com> <20111129211114.GB28139@altlinux.org> <20111129230240.GA29714@altlinux.org> From: diver Date: Wed, 30 Nov 2011 08:55:09 +0200 Message-ID: To: ALT Linux Sisyphus discussions Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Subject: Re: [sisyphus] kscreenlock & kcheckpass X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 06:55:54 -0000 Archived-At: List-Archive: List-Post: 2011/11/30 Dmitry V. Levin : > On Wed, Nov 30, 2011 at 12:20:48AM +0200, diver wrote: >> 2011/11/29 Dmitry V. Levin: >> > >> > =E5=D3=CC=C9 =D5 =D7=C1=D3 =C5=D3=D4=D8 =D2=C5=DB=C9=CD=CF=D3=D4=D8 = =C9=D3=D0=D2=C1=D7=C9=D4=D8 =CF=DB=C9=C2=CB=D5, =D4=CF =C4=C1=D7=C1=CA=D4= =C5 =D2=C1=DA=C2=C5=D2=C5=CD=D3=D1. >> > =F0=C5=D2=D7=CF=C5, =DE=D4=CF =CE=C1=C4=CF =D7=D9=D1=D3=CE=C9=D4=D8 - = =C5=D3=D4=D8 =D0=D2=CF=C2=CC=C5=CD=C1 =D7 kscreenlock/kcheckpass =C9=CC=C9 >> > =CE=C5=D4. =9A=E4=CC=D1 =DC=D4=CF=C7=CF =CE=C1=C4=CF =D0=D2=CF=D7=C5= =D2=C9=D4=D8, =D2=C1=C2=CF=D4=C1=C5=D4 =CC=C9 =D5 =D7=C1=D3 vlock >> > (http://lists.altlinux.org/pipermail/sisyphus/2008-January/327304.html= ). >> >> =F7=D9=DB=C5 =D0=CF =D4=D2=C5=C4=D5 =CF=D4=D7=C5=DE=C1=CC. vlock =D2=C1= =C2=CF=D4=C1=C5=D4 =D4=CF=CC=D8=CB=CF =D0=D2=C9 control tcb_chkpwd >> traditional. =F0=D2=C9 tcb: "tcb_chkpwd[1135]: user unknown" > > =FC=D4=C1 =C4=C9=C1=C7=CE=CF=D3=D4=C9=CB=C1 =C7=CF=D7=CF=D2=C9=D4 =CF =D4= =CF=CD, =DE=D4=CF tcb_chkpwd =CE=C5 =C8=D7=C1=D4=C9=CC=CF =D0=D2=C1=D7 =CE= =C1 > getspnam(3), =DE=C5=C7=CF =D7 =CE=CF=D2=CD=C1=CC=D8=CE=CF=CA =D3=C9=D4=D5= =C1=C3=C9=C9 =CE=C5 =C2=D9=D7=C1=C5=D4. > =FA=CE=C1=DE=C9=D4, =DE=D4=CF-=D4=CF =D3 =D0=D2=C1=D7=C1=CD=C9 =CE=C1 =C6= =C1=CA=CC=D9 =C9=CC=C9 =D0=C1=D2=C1=CD=C5=D4=D2=C1=CD=C9 =CD=CF=CE=D4=C9=D2= =CF=D7=C1=CE=C9=D1. > =E4=C1=D7=C1=CA=D4=C5 =D0=D2=CF=D7=C5=D2=C9=CD =D7=D3=C5 =D0=CF =D0=CF=D2= =D1=C4=CB=D5. > >> =F0=D2=C1=D7=C1 =D0=C5=D2=C5=D0=D2=CF=D7=C5=D2=D1=CC =CE=C1 =D7=D3=C5=CD= =D0=D5=D4=C9 =CB =9A/etc/tcb//shadow =D3=CF=C7=CC=C1=D3=CE=CF man. >> + =D3=CD=CF=D4=D2=C5=CC =CF=D4=CC=C9=DE=C9=D1 =D7 =D0=D2=C1=D7=C1=C8, = =CD=C5=D6=C4=D5 =CF=C6=C9=D3=CE=CF=CA =C9 =C4=CF=CD=C1=DB=CE=C5=CA =CD=C1= =DB=C9=CE=CF=CA. =EF=D4=CC=C9=DE=C9=CA >> =CE=C5 =CF=C2=CE=C1=D2=D5=D6=C9=CC. > > =E4=C1=D7=C1=CA=D4=C5 =D0=CF=D3=CD=CF=D4=D2=C9=CD =C5=DD=C5 =D2=C1=DA. = =9A=FE=D4=CF =D5 =D7=C1=D3 =D0=CF=CB=C1=DA=D9=D7=C1=C0=D4 > # ls -ld / /etc /etc/tcb /etc/tcb/diver /etc/tcb/diver/shadow /usr/lib/ch= kpwd /usr/lib/chkpwd/tcb_chkpwd > =C9 > # sed -rn '/^[^ ]+ \/(usr(\/lib(\/chkpwd)?)?)? /p' /proc/mounts > root@genesis:~$ control tcb_chkpwd traditional root@genesis:~$ ls -ld / /etc /etc/tcb /etc/tcb/diver /etc/tcb/diver/shadow /usr/lib/chkpwd /usr/lib/chkpwd/tcb_chkpwd drwxr-xr-x 23 root root 4096 =F3=C5=CE 22 15:49 / drwxr-xr-x 148 root root 12288 =EE=CF=D1 30 06:02 /etc drwx--x--- 88 root shadow 4096 =EF=CB=D4 4 23:19 /etc/tcb drwx--s--- 2 diver auth 4096 =EE=CF=D1 26 2009 /etc/tcb/diver -rw-r----- 1 diver auth 79 =EE=CF=D1 26 2009 /etc/tcb/diver/shadow drwx--x--- 2 root chkpwd 4096 =EE=CF=D1 30 06:02 /usr/lib/chkpwd -rws--x--x 1 root root 7680 =E1=D7=C7 12 22:39 /usr/lib/chkpwd/tcb_ch= kpwd root@genesis:~$ control tcb_chkpwd tcb root@genesis:~$ ls -ld / /etc /etc/tcb /etc/tcb/diver /etc/tcb/diver/shadow /usr/lib/chkpwd /usr/lib/chkpwd/tcb_chkpwd drwxr-xr-x 23 root root 4096 =F3=C5=CE 22 15:49 / drwxr-xr-x 148 root root 12288 =EE=CF=D1 30 06:02 /etc drwx--x--- 88 root shadow 4096 =EF=CB=D4 4 23:19 /etc/tcb drwx--s--- 2 diver auth 4096 =EE=CF=D1 26 2009 /etc/tcb/diver -rw-r----- 1 diver auth 79 =EE=CF=D1 26 2009 /etc/tcb/diver/shadow drwx--x--- 2 root chkpwd 4096 =EE=CF=D1 30 06:02 /usr/lib/chkpwd -rwx--s--x 1 root shadow 7680 =E1=D7=C7 12 22:39 /usr/lib/chkpwd/tcb_ch= kpwd root@genesis:~$ grep ^shadow: /etc/nsswitch.conf shadow: tcb files root@genesis:~$ cat /proc/mounts rootfs / rootfs rw 0 0 udevfs /dev devtmpfs rw,relatime,size=3D5120k,nr_inodes=3D213963,mode=3D755= 0 0 /dev/sda1 / ext3 rw,relatime,errors=3Dcontinue,commit=3D5,barrier=3D1,data=3Dwriteback 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=3D5,mode=3D620,ptmxmod= e=3D000 0 0 shmfs /dev/shm tmpfs rw,relatime 0 0 /dev/sda3 /home reiserfs rw,relatime 0 0 /dev/sdb1 /home/diver/Media ext4 rw,noatime,user_xattr,acl,barrier=3D1,data=3Dordered 0 0 tmpfs /tmp tmpfs rw,nosuid,relatime 0 0