<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>52549</bug_id>
          
          <creation_ts>2024-12-26 18:00:48 +0300</creation_ts>
          <short_desc>Не показывает ошибку при passwd: Weak password</short_desc>
          <delta_ts>2025-01-10 22:04:40 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>userpasswd</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="alxvmr@altlinux.org">alxvmr</assigned_to>
          <cc>george</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>256695</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2024-12-26 18:00:48 +0300</bug_when>
    <thetext>Шаги
====

1. $ userpasswd или из меню.
2. Ввести текущий пароль.
3. Дважды ввести пароль, не соответствующий системной политике (слишком короткий и т. п.), например &quot;q&quot;.

Фактический результат
=====================

Нет окна об ошибке или успешном завершении. При запуске из терминала видно, что passwd все еще запущен и выводит сообщения вида:

Weak password: too short.
Weak password: not enough different characters or classes for this length.
Weak password: based on a common sequence of characters and not a passphrase.

Ожидаемый результат
===================

Диалоговое окно с сообщением об ошибке.

Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus] userpasswd-0.3.5-alt1
ALT Education (XFCE) 10.4 x86_64
ALT Workstation 10.4 x86_64

Не воспроизводится в [p10] userpasswd-0.3.4-alt1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257090</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-01-10 22:04:40 +0300</bug_when>
    <thetext>userpasswd-0.3.6-alt1 -&gt; sisyphus:

 Thu Jan 09 2025 Maria Alexeeva &lt;alxvmr@altlinux&gt; 0.3.6-alt1
 - Fixed regression with hang on waitpid (Closes: #52549)
   Thanks to Ivan Volchenko for the fix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>