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

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

    <bug>
          <bug_id>26198</bug_id>
          
          <creation_ts>2011-08-31 13:11:20 +0400</creation_ts>
          <short_desc>Виснет при использование паролей</short_desc>
          <delta_ts>2017-11-23 17:07:18 +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>grub2-pc</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andriy Stepanov (stanv)">stanv</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>aen</cc>
    
    <cc>boyarsh</cc>
    
    <cc>imz</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124694</commentid>
    <comment_count>0</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2011-08-31 13:11:20 +0400</bug_when>
    <thetext>Цель: задать пароль супер-пользователю:

/etc/grub.d/40_custom
set superusers=&quot;admin&quot;
password admin 123

# grub-mkconfig -o /boot/grub/grub.cfg

При загрузке все пункты меню защищены от редактирования.
При попытке редактирования (клавиша e): спрашивает имя + пароль.
При удачной авторизации повисает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124703</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-08-31 14:33:49 +0400</bug_when>
    <thetext>На мейнтейнера.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124714</commentid>
    <comment_count>2</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2011-08-31 15:07:58 +0400</bug_when>
    <thetext>+ дополнительное требование: чтобы конфиги или все конфиги (из /etc/grub.d) были доступны на чтение только root.
Сейчас они доступны на чтение всем.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125175</commentid>
    <comment_count>3</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2011-09-12 16:51:17 +0400</bug_when>
    <thetext>Если уйти от использования GFX:
/etc/sysconfig/grub2
GRUB_TERMINAL_OUTPUT=&apos;console&apos;
тогда можно использовать пароли.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134431</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-03 18:38:41 +0400</bug_when>
    <thetext>Забираю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134435</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-03 19:00:57 +0400</bug_when>
    <thetext>Прошу по возможности проверить на 2.00.

Пока помню по осмотру пакетов opensuse/fedora -- существует вот такой патчик:
https://build.opensuse.org/package/view_file?file=grub2-fix-error-terminal-gfxterm-isn-t-found.patch&amp;package=grub2&amp;project=openSUSE%3AFactory&amp;rev=f39b3531166b2064b212ac25fb9475dc (пока не проверялся и не прикладывался).

Понижаю критичность, т.к. для проявления проблемы требуется ручная конфигурация, подразумевающая чтение http://www.gnu.org/software/grub/manual/grub.html -- насколько понимаю, ни один из поставляемых инструментов настройки (кроме текстового редактора) не позволяет в пару кликов загнать систему в подобный вид.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134517</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-05 23:59:12 +0400</bug_when>
    <thetext>Тем временем поправил http://www.altlinux.org/Grub#.D0.9A.D0.B0.D0.BA_.D1.83.D1.81.D1.82.D0.B0.D0.BD.D0.BE.D0.B2.D0.B8.D1.82.D1.8C_.D0.BF.D0.B0.D1.80.D0.BE.D0.BB.D1.8C_.D0.BD.D0.B0_.D1.80.D0.B5.D0.B4.D0.B0.D0.BA.D1.82.D0.B8.D1.80.D0.BE.D0.B2.D0.B0.D0.BD.D0.B8.D0.B5_.D0.BF.D0.B0.D1.80.D0.B0.D0.BC.D0.B5.D1.82.D1.80.D0.BE.D0.B2_.D1.8F.D0.B4.D1.80.D0.B0.3F</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150708</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2015-03-13 17:49:27 +0300</bug_when>
    <thetext>Проверил на grub2 2.00-alt20 (p7/sisyphus), работает; запрос пользователя/пароля в &quot;окне&quot; с чёрным фоном меньшего размера, где после начала загрузки идут сообщения.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>