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

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

    <bug>
          <bug_id>58579</bug_id>
          
          <creation_ts>2026-04-07 13:56:07 +0300</creation_ts>
          <short_desc>Не работает настройка Аудит изменений паролей и учётных записей</short_desc>
          <delta_ts>2026-04-08 13:28:07 +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>altcenter</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="Божченко Павел Александрович">bozhchenkopa</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>285273</commentid>
    <comment_count>0</comment_count>
    <who name="Божченко Павел Александрович">bozhchenkopa</who>
    <bug_when>2026-04-07 13:56:07 +0300</bug_when>
    <thetext>Версия пакета: altcenter-1.0-alt0.27

Шаги воспроизведения:
1) В Альт Центр перейти в режим эксперта и открыть раздел Настройки журналов аудита
2) Активировать чекбокс &quot;Аудит изменений паролей и учётных записей&quot;, применить
3) Сменить пароль любого из пользователей
4) Выполнить поиск по записям
# ausearch -k identity
# ausearch --message USER_CHAUTHTOK

Ожидаемое поведение: запись о смене пароля пользователя имеет key=&quot;identity&quot;
Фактическое поведние: события USER_CHAUTHTOK фиксируются независимо от чекбокса, так как генериурются PAM-модулем pam_passwdqc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285274</commentid>
    <comment_count>1</comment_count>
    <who name="Божченко Павел Александрович">bozhchenkopa</who>
    <bug_when>2026-04-07 14:02:14 +0300</bug_when>
    <thetext>Пример записи в журнале аудита, при смене пароля пользователя (независимо от настройки в Альт Центр):
----
time-&gt;Tue Apr  7 13:52:15 2026
type=USER_CHAUTHTOK msg=audit(1775559135.091:347): pid=3186 uid=0 auid=0 ses=3 msg=&apos;op=PAM:chauthtok grantors=pam_passwdqc,pam_tcb acct=&quot;test&quot; exe=&quot;/usr/bin/passwd&quot; hostname=education-11-0-x86-64-kde-20260124.localdomain addr=? terminal=pts/0 res=success&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285348</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-04-08 13:28:07 +0300</bug_when>
    <thetext>altcenter-1:1.0-alt0.28 -&gt; sisyphus:

Wed Apr 08 2026 Andrey Cherepanov &lt;cas@altlinux&gt; 1:1.0-alt0.28
- Fixed bugs (ALT #58106, #58308, #58558, #58579, #58577).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>