pam_mount для монтирования папки, зашифрованной ecryptfs, при входе в систему

Mirando man pinentry-gnome3, veo esto:

   pinentry-gnome3  implements  a PIN entry dialog based on GNOME 3, which
   aims to follow the GNOME Human Interface Guidelines as closely as  pos‐
   sible.   If the X Window System is not active then an alternative text-
   mode dialog will be used.  There are other flavors that  implement  PIN
   entry dialogs using other tool kits.

Desafortunadamente, este modo de respaldo de texto -no funciona para mí. Parece que otros tienen el mismoproblema . Sin embargo, este comentario me animó a probar un programa de entrada -pin GUI diferente:pinentry-gtk2. Puedes cambiar así:

> sudo update-alternatives --config pinentry
There are 3 choices for the alternative pinentry (providing /usr/bin/pinentry).

  Selection    Path                      Priority   Status
------------------------------------------------------------
* 0            /usr/bin/pinentry-gnome3   90        auto mode
  1            /usr/bin/pinentry-curses   50        manual mode
  2            /usr/bin/pinentry-gnome3   90        manual mode
  3            /usr/bin/pinentry-gtk-2    85        manual mode

Press  to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/pinentry-gtk-2 to provide /usr/bin/pinentry (pinentry) in manual mode

¡Una vez que cambié, funcionó perfectamente para mí! En una terminal en el escritorio, usará la entrada de contraseña de GUI, pero cuando ingrese a mi máquina, usará una entrada de contraseña de modo de texto -.

2
25.07.2019, 00:16
1 ответ

Я нашел простой способ монтировать папку ecryptfs при входе в систему. с использованием mount.ecryptfs_private ALIASиз утилиты ecryptfs -, а не pam _.

@Paradox Я отправил редактирование в ответ на ваш комментарий, но оно было поставлено в очередь и так и не появилось.

0
27.01.2020, 22:24

Теги

Похожие вопросы