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

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

    <bug>
          <bug_id>23240</bug_id>
          
          <creation_ts>2010-03-26 17:42:02 +0300</creation_ts>
          <short_desc>замените gpasswd на usermod</short_desc>
          <delta_ts>2010-09-17 06:35:13 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>apache2</component>
          <version>unstable</version>
          <rep_platform>all</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>P3</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Shabalin">shaba</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108165</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2010-03-26 17:42:02 +0300</bug_when>
    <thetext>в %pre пользователь apache добавляется в группу _webserver.
не надо использовать gpasswd -M, это замещает всех предыдущих пользователей.
надо использовать usermod -G _webserver apache|apache2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108169</commentid>
    <comment_count>1</comment_count>
    <who name="solo">solo</who>
    <bug_when>2010-03-26 18:10:33 +0300</bug_when>
    <thetext>usermod -G &lt;группа&gt; &lt;пользователь&gt;

Удаляет пользователя из всех групп кроме указанной (и главной)...

Похоже gpasswd -a &lt;пользователь&gt; &lt;группа&gt; делает то что надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112242</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-09-17 06:35:13 +0400</bug_when>
    <thetext>apache2-2.2.16-alt2 -&gt; sisyphus:

* Fri Sep 17 2010 Aleksey Avdeev &lt;solo@altlinux&gt; 2.2.16-alt2
- Use gpasswd -a in %pre %name-common (Closes: #23240)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>