ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] tcb permissions?
@ 2018-01-24  8:17 Андрей Бергман
  2018-01-24  8:41 ` Paul Wolneykien
  0 siblings, 1 reply; 3+ messages in thread
From: Андрей Бергман @ 2018-01-24  8:17 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Други!

Возникла проблема с парольной аутентификацией в хранителях экрана.

Грубо говоря, я пытаюсь проверить пароль пользователя из-под этого
же пользователя, и получаю ошибку "Authentication failure" (код
ошибки pam_authenticate - 7).

С учётом того, что sudo и su работают нормально + если я ставлю
root + sudo bit на ту же программу, всё проходит отлично, я думаю,
что дело в каких-то слетевших permissions.

Однако:

1. control tcb_chkpwd
tcb

2. Разрешения в /etc/tcb вроде правильные

Заранее спасибо,
  Андрей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] tcb permissions?
  2018-01-24  8:17 [sisyphus] tcb permissions? Андрей Бергман
@ 2018-01-24  8:41 ` Paul Wolneykien
  2018-01-24 11:01   ` Sergey V Turchin
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Wolneykien @ 2018-01-24  8:41 UTC (permalink / raw)
  To: sisyphus

24.01.2018 11:17, Андрей Бергман пишет:
> Други!
> 
> Возникла проблема с парольной аутентификацией в хранителях экрана.
> 
> Грубо говоря, я пытаюсь проверить пароль пользователя из-под этого
> же пользователя, и получаю ошибку "Authentication failure" (код
> ошибки pam_authenticate - 7).
> 
> С учётом того, что sudo и su работают нормально + если я ставлю
> root + sudo bit на ту же программу, всё проходит отлично, я думаю,
> что дело в каких-то слетевших permissions.

  У mate-screensaver, помнится, аутентификацией занимается не основная
программа, а хелпер. И suid нужно ставить на него.

> 
> Однако:
> 
> 1. control tcb_chkpwd
> tcb
> 
> 2. Разрешения в /etc/tcb вроде правильные
> 
> Заранее спасибо,
>   Андрей.
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] tcb permissions?
  2018-01-24  8:41 ` Paul Wolneykien
@ 2018-01-24 11:01   ` Sergey V Turchin
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey V Turchin @ 2018-01-24 11:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Wednesday, 24 January 2018 11:41:17 MSK Paul Wolneykien wrote:

[...]
> > Грубо говоря, я пытаюсь проверить пароль пользователя из-под этого
> > же пользователя, и получаю ошибку "Authentication failure" (код
> > ошибки pam_authenticate - 7).
> > 
> > С учётом того, что sudo и su работают нормально + если я ставлю
> > root + sudo bit на ту же программу, всё проходит отлично, я думаю,
> > что дело в каких-то слетевших permissions.
> 
>   У mate-screensaver, помнится, аутентификацией занимается не основная
> программа, а хелпер. И suid нужно ставить на него.
Какой еще SUID?

[zerg@zerg ~]$ l /usr/libexec/kf5/kcheckpass
-rwx--s--x 1 root chkpwd 14744 янв 11 10:26 /usr/libexec/kf5/kcheckpass
[zerg@zerg ~]$ cat /etc/pam.d/kf5-screenlocker
#%PAM-1.0
auth            sufficient      pam_succeed_if.so user ingroup nopasswdlogin
auth            include         system-auth
[zerg@zerg ~]$ 

[...]

-- 
Regards, Sergey.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-24 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-24  8:17 [sisyphus] tcb permissions? Андрей Бергман
2018-01-24  8:41 ` Paul Wolneykien
2018-01-24 11:01   ` Sergey V Turchin

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