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

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

    <bug>
          <bug_id>38524</bug_id>
          
          <creation_ts>2020-05-22 18:30:00 +0300</creation_ts>
          <short_desc>chsh(1) недоступен непривилегированному пользователю</short_desc>
          <delta_ts>2026-08-24 18:48:24 +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>shadow-change</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aleksey Cheusov">vle</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>190258</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksey Cheusov">vle</who>
    <bug_when>2020-05-22 18:30:00 +0300</bug_when>
    <thetext>1) p9
2) Открываем man chsh
    DESCRIPTION
       The chsh command changes the user login shell. This determines
       the name of the user&apos;s initial login command. A normal user
       may only change the login shell for her own account;
       the superuser may change the login shell for any account.
3) 
    $ ls -l /usr/bin/chsh 
    -rwx------ 1 root root 45400 Sep  3  2019 /usr/bin/chsh
    $ rpm -qf /usr/bin/chsh
    shadow-change-4.5-alt5.x86_64
    $
4)

Итого: пользователь не может сменить свой шел по причине того, что просто не может запустить chsh.

P.S.
Весьма вероятно, что проблема актуальная и для Сизифа.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190270</commentid>
    <comment_count>1</comment_count>
    <who name="Aleksey Cheusov">vle</who>
    <bug_when>2020-05-23 13:27:00 +0300</bug_when>
    <thetext>То же самое касается chfn(1) и chage(1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190272</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2020-05-23 14:14:59 +0300</bug_when>
    <thetext>control chsh help
control chfn help
control chage help</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190273</commentid>
    <comment_count>3</comment_count>
    <who name="Aleksey Cheusov">vle</who>
    <bug_when>2020-05-23 15:45:22 +0300</bug_when>
    <thetext>Неплохо было бы сослаться на control(8) в документации
и указать, что по умолчанию так и так.
Видимо, во всех/многих facilities утилиты control(8). 
В /Features control(8) упомянут, но уж больно
мелким шрифтом, и совершенно незаметен.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>